kubo/test/dependencies
Marcin Rataj edb7056747
feat(config): add Gateway.MaxRequestDuration option (#11138)
* feat(config): add Gateway.MaxRequestDuration option

exposes the previously hardcoded 1 hour gateway request deadline as a
configurable option, allowing operators to adjust it to fit deployment
needs. protects gateway from edge cases and slow client attacks.

boxo: https://github.com/ipfs/boxo/pull/1079

* test(gateway): add MaxRequestDuration integration test

verifies config is wired correctly and 504 is returned when exceeded

* docs: add MaxRequestDuration to gateway production guide

---------

Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com>
2026-01-15 19:31:16 +01:00
..
go-sleep vendor binary deps in test/dependencies 2015-09-10 18:09:12 -07:00
go-timeout fix govet warnings 2018-03-22 17:31:22 +01:00
iptb style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
ma-pipe-unidir style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
pollEndpoint chore: update test dependencies (#10555) 2024-10-21 17:07:53 -07:00
dependencies.go refactor(ci): optimize build workflows (#10973) 2025-09-19 14:44:38 +02:00
GNUmakefile fix: require gmake 2019-08-01 12:18:56 -07:00
go.mod feat(config): add Gateway.MaxRequestDuration option (#11138) 2026-01-15 19:31:16 +01:00
go.sum feat(config): add Gateway.MaxRequestDuration option (#11138) 2026-01-15 19:31:16 +01:00