cloudfoundry / routing-release

This is the BOSH release for cloud foundry routers
Apache License 2.0
42 stars 106 forks source link

Add option to enable concurrent reads and writes for HTTP/1 #389

Closed mariash closed 7 months ago

mariash commented 7 months ago

What is this change about?

Bump negroni to latest to get support for ResponseController in Go 1.20+ to enable full-duplex mode for HTTP/1 requests. See more: https://pkg.go.dev/net/http#ResponseController.EnableFullDuplex

Waiting on the negroni release. Meanwhile bumped it to latest manually:

go get github.com/urfave/negroni/v3@master
go mod vendor

What type of change is this?

Backwards Compatibility

There should not be backwards compatibility issues since this is not an API change. This is an improvement for HTTP/1 requests.

How should this be tested?

There is an automated test provided in this PR as well as some manual validation that can be performed.

Additional Context

Please provide any additional links or context (issues, other PRs, Slack discussions) to help understand this change.

PR Checklist