This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Commit 2b18bf2
committed
Configuration: added some missing proxy settings options.
There are some http related settings that are set internally but not
exposed to the config system.
Add
- proxy_buffer_size
- proxy_header_buffer_size
- proxy_timeout
- proxy_send_timeout
- proxy_read_timeout
to the http configuration in nxt_router.c and the http configuration
validation in nxt_conf_validation.c
This doesn't add 'proxy_buffers' as that is unused and will be removed
in a follow up commit.
This then allows users to set these such as
"settings": {
"http": {
"proxy_buffer_size": 65536,
"proxy_header_buffer_size": 8192,
"proxy_timeout": 30,
"proxy_send_timeout": 60,
"proxy_read_timeout": 60
}
}
If these values aren't set they retain their default values.1 parent 7c69118 commit 2b18bf2
2 files changed
+45
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
323 | 338 | | |
324 | 339 | | |
325 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1449 | 1449 | | |
1450 | 1450 | | |
1451 | 1451 | | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1452 | 1482 | | |
1453 | 1483 | | |
1454 | 1484 | | |
| |||
0 commit comments