File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,15 @@ defmodule Finch do
328
328
329
329
See also `stream_while/5`.
330
330
331
+ > ### HTTP2 streaming and back-pressure {: .warning}
332
+ >
333
+ > At the moment, streaming over HTTP2 connections do not provide
334
+ > any back-pressure mechanism: this means the response will be
335
+ > sent to the client as quickly as possible. Therefore, you must
336
+ > not use streaming over HTTP2 for non-terminating responses or
337
+ > when streaming large responses which you do not intend to keep
338
+ > in memory.
339
+
331
340
## Stream commands
332
341
333
342
* `{:status, status}` - the http response status
@@ -384,6 +393,15 @@ defmodule Finch do
384
393
385
394
See also `stream/5`.
386
395
396
+ > ### HTTP2 streaming and back-pressure {: .warning}
397
+ >
398
+ > At the moment, streaming over HTTP2 connections do not provide
399
+ > any back-pressure mechanism: this means the response will be
400
+ > sent to the client as quickly as possible. Therefore, you must
401
+ > not use streaming over HTTP2 for non-terminating responses or
402
+ > when streaming large responses which you do not intend to keep
403
+ > in memory.
404
+
387
405
## Stream commands
388
406
389
407
* `{:status, status}` - the http response status
You can’t perform that action at this time.
0 commit comments