We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669781a commit 6b663ecCopy full SHA for 6b663ec
2 files changed
README.md
@@ -402,7 +402,8 @@ Refs: https://tools.ietf.org/html/rfc7231#section-5.1.1
402
### Pipelining
403
404
Undici will only use pipelining if configured with a `pipelining` factor
405
-greater than `1`.
+greater than `1`. Also it is important to pass `blocking: false` to the
406
+request options to properly pipeline requests.
407
408
Undici always assumes that connections are persistent and will immediately
409
pipeline requests, without checking whether the connection is persistent.
benchmarks/benchmark.js
@@ -89,6 +89,8 @@ const superagentAgent = new http.Agent({
89
const undiciOptions = {
90
path: '/',
91
method: 'GET',
92
+ blocking: false,
93
+ reset: false,
94
headersTimeout,
95
bodyTimeout
96
}
0 commit comments