Overview
| Artifact ID: | d78c9723cd5f3309ff6c34295379e0b7d9616c11fca2d704107cf1099869c726 |
|---|---|
| Ticket: | b6d0d8cc2c82dbb366d1fb3f32afd2a027a41135
(windows) socket close: graceful shutdown vs. lingering (eternal TIME_WAIT issue). |
| User & Date: | sebres on 2019-09-16 10:56:24 |
Changes
- icomment:
<i>> Apparently, this is an internal WIndows "feature", that Windows wants to give itself time to empty its buffers.</i> Agree and I thought also it's "normal" Windows behavior, unless I saw every single socket in the time-wait state without necessary sending buffers up-to default timeout (TcpTimedWaitDelay). This cannot be called "normal" anymore and either graceful shutdown should be implemented differently (at least up-to last receive after some send/flush) or there is really an option needed to control that by developer.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"