diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-04-07 14:32:15 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-04-07 16:20:48 -0700 |
commit | aec96aa2232b3ab7f86bc08a99f82684406edf0b (patch) | |
tree | bfba274bab64544dafb29256788138be5039f965 /src/core/iomgr/pollset_windows.c | |
parent | 106882854b40775ac570fbf307ad978e808d8e62 (diff) |
Fix server shutdown
A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open.
This change:
- adds a callback to TCP server shutdown to signal that the server is completely shutdown
- wait for that callback before destroying listeners in the server (and before destroying the server)
- handles fallout
Diffstat (limited to 'src/core/iomgr/pollset_windows.c')
0 files changed, 0 insertions, 0 deletions