This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
forked from lpgauth/lhttpc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing test suite issue with accepting/connecting.
Because of a weird TCP stack behaviour it is possible that connect returns with a socket before it is properly accepted on the server side. On top of this if the listening socket is closed between the connect returning and the accept really happening the connection disappears on the server side. Like it never happened in the first place.
- Loading branch information
Tamas Nagy
committed
Nov 23, 2009
1 parent
42044e2
commit c71bd5d
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters