]> go.fuhry.dev Git - runtime.git/commit
[http] fix s3 chunk size workaround, enable H2 ALPN
authorDan Fuhry <dan@fuhry.com>
Tue, 8 Jul 2025 14:30:07 +0000 (10:30 -0400)
committerDan Fuhry <dan@fuhry.com>
Tue, 8 Jul 2025 14:34:46 +0000 (10:34 -0400)
commit21f423dd5a4fb27d36b899144e2108ca8fff64f0
tree904d2420ef2571bfa35076833906126780e9a9e9
parent9cdcff72908afa34a38a6d9dd9b917182c7e2e4d
[http] fix s3 chunk size workaround, enable H2 ALPN

- Set `NextProtos` to `[]string{"h2"}` when setting up tls config for http server
- Use `io.CopyN` to stream response in route_action_s3
http/route_action_s3.go
http/server.go