Commit a5db5d8
Fix test_wantWriteError failure on macOS
Use Unix domain sockets instead of TCP loopback. On macOS, TCP
loopback aggressively auto-tunes buffer sizes and drains the send
buffer into the peer's receive buffer nearly instantly, so the send
buffer won't stay full long enough for do_handshake() to observe it,
resulting in WantReadError instead of the expected WantWriteError.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f46314f commit a5db5d8
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
3070 | 3072 | | |
3071 | 3073 | | |
3072 | 3074 | | |
3073 | | - | |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
3074 | 3083 | | |
3075 | 3084 | | |
3076 | 3085 | | |
| |||
0 commit comments