风扇滑翔翼
a7e198e1e2
Fix WS reading X-Forwarded-For & Add tests ( #3546 )
...
Fixes https://github.com/XTLS/Xray-core/issues/3545
---------
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
4 months ago
MHSanaei
16de0937a8
Fix typos ( #3527 )
5 months ago
yuhan6665
b8c0768b16
Properly parse HTTP host for verification
...
Also fix H2 transport to not verify if host is not defined
5 months ago
yuhan6665
4c51636788
Relax server HTTP host check
5 months ago
yuhan6665
60b2c349d2
Try to fix infinite conn read in tests
5 months ago
yuhan6665
079d0bd8a9
Refactor log ( #3446 )
...
* Refactor log
* Add new log methods
* Fix logger test
* Change all logging code
* Clean up pathObj
* Rebase to latest main
* Remove invoking method name after the dot
5 months ago
风扇滑翔翼
3654c0d710
HTTPUpgrade send headers with specified capitalization ( #3430 )
...
* Fix HTTPUpgrade header capitalization
* Chore
* Remove excess host headers
Chore : change httpupgrade header "upgrade" to "Upgrade" #3435
6 months ago
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
6 months ago
mmmray
980236f2b6
preserve exact header casing when using httpupgrade ( #3427 )
...
* preserve exact header casing when using httpupgrade
* fix capitalization of websocket
* oops, we dont need net/url either
* restore old codepath when there are no headers
6 months ago
风扇滑翔翼
be29cc39d7
Add httpupgrade test
6 months ago
AsenHu
459504300c
chore: Remove unnecessary `if` in httpupgrade ( #3413 )
6 months ago
RPRX
ca07a705dc
Generate *.pb.go files with protoc v5.27.0
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v27.0
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
(Xray-core/) go run ./infra/vprotogen
6 months ago
风扇滑翔翼
021868afca
Fix HTTPUpgrade init
8 months ago
yuhan6665
e2302b421c
Update proto file for websocket and httpupgrade (breaking)
8 months ago
风扇滑翔翼
9a619f9e7c
Add support for HTTPupgrade custom headers
8 months ago
チセ
2cafb3ef89
Fix(httpupgrade): `X-Forwarded-For` header not read. ( #3172 )
8 months ago
yuhan6665
657c5c8570
Update HTTPUpgrade spelling and proto
8 months ago
RPRX
18b823b4a6
HTTPUpgrade 0-RTT ( #3152 )
...
* Add ed to enable HTTPUpgrade 0-RTT
https://github.com/XTLS/Xray-core/issues/3128#issuecomment-2002563369
* WebSocket hub.go MaxHeaderBytes: 4096 -> 8192
8 months ago
RPRX
5c41292836
Add ConnRF to make HTTPUpgrade 0-RTT
...
https://github.com/XTLS/Xray-core/issues/3128#issuecomment-1991809113
9 months ago
RPRX
d3a218f896
Fix https://github.com/XTLS/Xray-core/issues/3128
9 months ago
Eken Chan
173b03448f
transport: add httpupgrade
9 months ago