mirror of https://github.com/grpc/grpc.git
Specifically: if a request handling thread is in flight but scheduled out when shutdown is called on the server, but it has already passed the shutdown check, then when it resumes it will add a grpc_call to the completion queue that is leaked. We fix this by explicitly freeing such calls after all worker threads have shutdown. To manifest the leak, run the end2end::ClientCancelsRequestStream test repeatedly on the unpatched server implementation. About 0.5% of the time, the leak will manifest.pull/17151/head
parent
38c6b2c72a
commit
843c8d9e75
1 changed files with 22 additions and 1 deletions
Loading…
Reference in new issue