Commit 83733f8
committed
Comment about streaming.
Just noting to future readers about why we read into a buffer for the test. If you do manage to pipe in a stream, it will likely stall unless you use a tiny image or give it a really big buffer, as the server will be waiting for the client to receive the output so it can drain the write buffer.1 parent b48a145 commit 83733f8
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
0 commit comments