| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
|
| |
For more information, see comments on
https://msdn.microsoft.com/en-us/library/windows/desktop/ms738547(v=vs.85).aspx
|
| |
|
|
|
|
|
|
| |
- removed the need to track some state
- fixed chttp2 transport endpoint shutdown management
- made a bunch of tests pass
|
| |
|
|
|
|
|
| |
Now calling tcp_shutdown will in fact close the socket, which cascades into properly cleaning out all the pending requests.
The tcp_server_windows's shutdown logic had to be rewritted (simplified) in order to take this into account.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
alarm_test, tcp_posix, fd_posix, pollset_posix, credentials, call,
channel, server, child_channel
|
|
|
|
|
|
|
|
| |
-) Properly setting up the endpoint pair.
-) Beancounting on socket shutdown to properly add references.
-) Only proceed to clear out data when called from the IOCP thread.
-) Enabling ALL the tests.
-) Fixing run_tests.py to properly invoke them.
|
|
|
|
|
| |
-) Better handling of orphaned sockets by tracking the pending operations in it, instead of the layer above.
-) Ignoring after-shutdown operations.
|
|
|
|
|
| |
-) Fixed a few more (much more rare) race conditions on shutdown.
-) Fixed a degenerate case if we create a server but never start it.
|
|
|
|
| |
Fixing a very edge case where the tcp_client can crash due to race conditions on connection abortion.
|
|
|
|
|
| |
-) tcp client and server should no longer starve waiting on orphans
-) proper server shutdown sequence to prevent use-after-free.
|
| |
|
|
|
|
|
|
| |
-) Introduce a wait-loop with a 100ms delay on iomgr shutdown, so that background threads have the chance to place last minute callbacks without having to stall for the whole 10 seconds deadline.
-) io completion ports will get notifications on socket shutdowns, so we need to delay their deletions for after we get a notification for them.
-) we need to keep some sense of how many orphan sockets are in, so we can properly collect them - let's not shutdown the iocp loop until after all orphans have been collected.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
-) Client code is now threadsafe.
-) The echo_client code runs and succeeds.
|
|
Caveats:
-) The win32 pollset isn't threadsafe (yet).
-) Only client code is implemented.
-) Only very simple code has been tested with it yet.
|