Commit 27b48bb
committed
Fix error & head handling in stream handlers
This ensures that errors result in a client response failure, and that
headers are flushed without waiting for the stream to start.
This approach is a little basic, and errors don't yet handle this case
of browser streams, but I think those are very rarely used and it's
unlikely to be relevant.1 parent d3e505e commit 27b48bb
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
277 | 279 | | |
278 | 280 | | |
| 281 | + | |
| 282 | + | |
279 | 283 | | |
280 | 284 | | |
281 | 285 | | |
| |||
0 commit comments