Commit 281c20e
committed
Set TCP_NODELAY on the listen socket only
All unixs inherit NODELAY from the listen socket to the sockets returned
from accept(2), so you only need to set in on the listen socket once to
use it on the client sockets.1 parent 8d0515e commit 281c20e
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments