Commit f37c3c5
docs(http2): clarify why httpAgent applies only to HTTP/1.1
Per review: no compatibility layer — just make the behavior and reasoning
clear. A Node `http.Agent` configures HTTP/1.1 socket pooling, which has no
equivalent in HTTP/2's multiplexed model (H2 knobs live on `H2FetchOptions`),
so `httpAgent` has no effect on the H2 transport. Spell this out in the README
HTTP/2 section and in the `resolveHttp2Fetch` doc.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 157044a commit f37c3c5
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
0 commit comments