add when server sendfile ,status should be changed