-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not set recbuf by default on listening sockets
This patch removes a bug I experienced on FreeBSD during tests on the loopback interface because of its MTU. So, I don't really know why that happens on FreeBSD and not on Linux, but because loopback MTU is greater than the recbuf value (16K on loopback vs 8k in Yaws), if a client sends data, Yaws will read them very slowly. Furthermore, there is no good reason to tweak this value by default. And, if required, it is always possible to configure it.
- Loading branch information
Christopher Faulet
committed
Jul 7, 2014
1 parent
8ff00fe
commit 6e2a971
Showing
4 changed files
with
3 additions
and
4 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
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