Commit 96e881e
committed
fix stream_body timeout issue by reverting breaking error format change
Revert the error format change from {error, Reason} to {error, {Reason, Buffer}}
in stream_body_recv_error. This breaking change was causing stream_body to
hang after the first chunk as reported in issue #762.
The original error format must be preserved for compatibility with existing
error handling code that expects {error, timeout} rather than {error, {timeout, Buffer}}.1 parent 431b4f5 commit 96e881e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments