Commit ed259d2
authored
Make http header list size configurable in HTTP client for HTTP2 (#12172)
Description
This PR adds configurable maxHeaderListSize property to HTTP client configuration for HTTP2.
Added maxHeaderListSize configuration property with getter/setter methods.
Updated Http2FrameCodec instantiation to use the configurable header list size.
Considerations
Can be configured via micronaut.http.client.http2.max-header-list-size property.1 parent f11ad23 commit ed259d2
2 files changed
Lines changed: 35 additions & 1 deletion
File tree
- http-client-core/src/main/java/io/micronaut/http/client
- http-client/src/main/java/io/micronaut/http/client/netty
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1274 | 1274 | | |
1275 | 1275 | | |
1276 | 1276 | | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
1277 | 1283 | | |
1278 | 1284 | | |
1279 | 1285 | | |
1280 | 1286 | | |
1281 | 1287 | | |
1282 | 1288 | | |
| 1289 | + | |
| 1290 | + | |
1283 | 1291 | | |
1284 | 1292 | | |
1285 | 1293 | | |
| |||
1342 | 1350 | | |
1343 | 1351 | | |
1344 | 1352 | | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1345 | 1372 | | |
1346 | 1373 | | |
1347 | 1374 | | |
| |||
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
654 | 655 | | |
655 | 656 | | |
656 | 657 | | |
657 | | - | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
658 | 665 | | |
659 | 666 | | |
660 | 667 | | |
| |||
0 commit comments