Commit b05f153
unix/stream: repair SO_SNDTIMEO
The send operations are waiting on the peer's socket buffer, but we shall
use our timeout value. Provide a test for that.
Approved by: re (cperciva)
Reported by: phk
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D53081
Fixes: d157927
(cherry picked from commit ead7219)
(cherry picked from commit bbfaff2)1 parent 8d2dcf9 commit b05f153
2 files changed
+45
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1072 | 1087 | | |
1073 | 1088 | | |
1074 | 1089 | | |
| |||
1203 | 1218 | | |
1204 | 1219 | | |
1205 | 1220 | | |
1206 | | - | |
| 1221 | + | |
| 1222 | + | |
1207 | 1223 | | |
1208 | 1224 | | |
1209 | 1225 | | |
| |||
2397 | 2413 | | |
2398 | 2414 | | |
2399 | 2415 | | |
2400 | | - | |
| 2416 | + | |
2401 | 2417 | | |
2402 | 2418 | | |
2403 | 2419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
490 | 492 | | |
491 | 493 | | |
492 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
493 | 519 | | |
494 | 520 | | |
495 | 521 | | |
| |||
506 | 532 | | |
507 | 533 | | |
508 | 534 | | |
| 535 | + | |
509 | 536 | | |
510 | 537 | | |
511 | 538 | | |
0 commit comments