Xray-core/transport/internet/httpupgrade
mmmray f8ec93dfdd
drain buffer correctly in httpupgrade (#3428)
* drain buffer correctly in httpupgrade

it seems the recently added httupgrade testsuite is causing timeouts on master

i have no evidence this is the real issue, but it feels to me that the
server could accidentally over-read, and then the encapsulated
connection will block forever trying to read data

let's test it in CI a couple of times, i don't have a way to reproduce
the issue

* correctly drain buffer, again
2024-06-05 22:43:15 -04:00
..
config.go Fix HTTPUpgrade init 2024-04-07 19:52:48 -04:00
config.pb.go Generate *.pb.go files with protoc v5.27.0 2024-05-26 03:20:53 +00:00
config.proto Update proto file for websocket and httpupgrade (breaking) 2024-03-30 07:42:41 +00:00
connection.go Fix(httpupgrade): X-Forwarded-For header not read. (#3172) 2024-03-23 13:34:51 -04:00
dialer.go drain buffer correctly in httpupgrade (#3428) 2024-06-05 22:43:15 -04:00
errors.generated.go transport: add httpupgrade 2024-03-03 10:45:36 -05:00
httpupgrade.go transport: add httpupgrade 2024-03-03 10:45:36 -05:00
httpupgrade_test.go preserve exact header casing when using httpupgrade (#3427) 2024-06-05 20:43:44 -04:00
hub.go Add httpupgrade test 2024-06-05 17:39:55 +00:00