Bugzilla – Bug 226
tcp-impl doesn't invoke NotifySend () even though app is blocked
Last modified: 2008-06-19 00:27:08 UTC
tcp-impl doesn't invoke NotifySend () under the following condition: 1. App has blocked, m_wouldBlock is true, new tx space becomes available 2. tcp-impl invokes NotifySend () callback App callback writes data, ok App callback writes data, blocks again 3. tcp-impl sets m_wouldBlock to false after callback returns After this happens, NotifySend () is no longer called, even though the app is blocked.
Created attachment 172 [details] Suggested Fix: set m_wouldBlock to false before invoking the callback.
This looks right, thanks Florian. This looks ready to push to me.