Commit 1766bdc
Fix sync zero blocking timeout: convert 0 to None for indefinite blocking
The sync parse_response was passing blocking_timeout=0 directly to
read_response(), causing a zero-second socket read that raises TimeoutError
immediately. The async clients already convert 0 to None for indefinite
blocking; this applies the same fix to the sync path.1 parent a88e6fe commit 1766bdc
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
863 | 868 | | |
864 | 869 | | |
865 | 870 | | |
| |||
0 commit comments