RPRX
b30e05d1bc
XHTTP: The real upload / download splitting ( #3955 )
...
* SplitHTTP client: Add real upload / download splitting
* Transport: Add XHTTP as an alias of SplitHTTP
* XHTTP config: Use `downloadSettings` instead
4 weeks ago
mmmray
e733148c0b
REALITY: Unblock SplitHTTP transport ( #3816 )
...
https://github.com/XTLS/Xray-core/pull/3816#issuecomment-2445694775
4 weeks ago
RPRX
47fad1fbfd
Chore: Generate *.pb.go files with protoc v5.28.2
...
Download https://github.com/protocolbuffers/protobuf/releases/tag/v28.2
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.35.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
(Xray-core/) go run ./infra/vprotogen
1 month ago
yuhan6665
6a70ae6408
HTTP transport: Fix an issue when HTTP client start fail with 403 ( #3910 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
1 month ago
mmmray
8c180b9cfd
Browser Dialer: Revert changes to event listeners ( #3906 )
...
https://github.com/XTLS/Xray-core/issues/3882#issuecomment-2396167708
This does not fix the linked issue, just a random bug I found.
2 months ago
yuhan6665
3632e83faa
Transport: Add HTTP3 to HTTP ( #3819 )
2 months ago
Kobe Arthur Scofield
7086d286be
Remove legacy code ( #3838 )
...
* Add feature migration notice
* Remove legacy code of transport processing
* Clear legacy proto field
* Fix missing
* Unify protocolname
* Test remove
* Supressor
* Weird code
* Remove errorgen related comments
2 months ago
Lumière Élevé
acbf36e21b
SplitHTTP server: Add global CORS headers for browser dialer ( #3830 )
2 months ago
Lumière Élevé
7677ac980d
Browser Dialer: Change from ES5 to ES6+ for performance ( #3832 )
2 months ago
Kobe Arthur Scofield
57a41f3b4b
Config: Remove more legacy fields ( #3817 )
2 months ago
mmmray
f406b2dee0
SplitHTTP client: Fix xmux config deserialization ( #3827 )
2 months ago
ll11l1lIllIl1lll
b1c6471eeb
SplitHTTP client: Add xmux (multiplex controller) for H3 & H2 ( #3613 )
...
https://github.com/XTLS/Xray-core/pull/3613#issuecomment-2351954957
Closes https://github.com/XTLS/Xray-core/issues/3560#issuecomment-2247495778
---------
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
2 months ago
Dmitry Anderson
a931507dd6
SplitHTTP: Read and validate HTTP/1.1 responses ( #3797 )
2 months ago
Kobe Arthur Scofield
7496413e5c
Remove remnants of global `transport` ( #3792 )
...
* Remove remenants
* Generate pb.go
* Remove function
3 months ago
风扇滑翔翼
3d0feae462
Transport: Add REALITY TLS1.3 support warning ( #3774 )
3 months ago
mmmray
c0a98f74fc
Transport: Remove DomainSocket ( #3757 )
...
https://github.com/XTLS/Xray-core/pull/3755#issuecomment-2325533003
3 months ago
mmmray
9a953c070f
Transport: Remove QUIC ( #3754 )
...
https://github.com/XTLS/Xray-core/pull/3554#issuecomment-2236171077
3 months ago
mmmray
ab3c00e96b
SplitHTTP: Remove `ok` compatibility logic ( #3753 )
...
Remove some code that was added to maintain compatibility with older
Xray versions. This breaks compatibility with Xray-core v1.8.23 or older.
3 months ago
mmmray
83eef6bc1f
SplitHTTP: Fix connection leaks and crashes ( #3710 )
3 months ago
mmmray
2be03c56cb
Pin protobuf packages ( #3715 )
...
* Pin protobuf packages
It happened in the past that I ran with the wrong protobuf version
installed locally, and apparently there is even still some file wrong in
splithttp. Fix this issue once and for all.
* bump protobuf packages
* Revert "bump protobuf packages"
This reverts commit 7a3509346a
.
* Revert "Revert "bump protobuf packages""
This reverts commit bb79707d15
.
* fix deprecated grpc usage
3 months ago
mmmray
160316d53c
SplitHTTP: Do not produce too large upload ( #3691 )
3 months ago
mmmray
498d8eb3cc
DialerProxy: Fix SplitHTTP H3 dialerProxy ( #3570 )
...
* wip
* wip
* formatting
* cnc connection no longer needs to be a Packetconn
* dialerProxy: do not cancel connection when Dial context is cancelled
4 months ago
Lumière Élevé
0c7303960a
SplitHTTP server: Add "Cache-Control: no-store" to GET response ( #3652 )
...
https://github.com/XTLS/Xray-core/pull/3652#issuecomment-2282308407
4 months ago
mmmray
513182adf3
SplitHTTP server: Only "ok" to older clients ( #3671 )
...
https://github.com/XTLS/Xray-core/pull/3643#issuecomment-2282304185
4 months ago
mmmray
a3b306aaa4
SplitHTTP: Replace responseOkPadding with xPaddingBytes ( #3643 )
4 months ago
mmmray
85e2ebc6f7
SplitHTTP client: Raise idle timeout to 5 minutes, Add h*KeepalivePeriod ( #3624 )
4 months ago
mmmray
4b7947cca9
SplitHTTP server: add ok padding ( #3614 )
4 months ago
mmmray
30af792777
SplitHTTP: Rename three options & Reduce server defaults ( #3611 )
...
* maxUploadSize -> scMaxEachPostBytes, default is 1MB on both sides (was 2MB on the server)
* minUploadIntervalMs -> scMinPostsIntervalMs, default is 30ms on the client (no server support for now)
* maxConcurrentUploads -> scMaxConcurrentPosts, default is 100 on both sides (was 200 on the server)
4 months ago
mmmray
33daa0c94b
SplitHTTP: Fix wrong config deserialization ( #3610 )
...
Testing was conducted only using explicit parameters, and using
testsuite. However, when the parameters are not explicitly set in JSON
config, it seems that `c.MaxUploadSize` will contain `RandRangeConfig {
From: 0, To: 0 }` instead of `nil`, which breaks upload entirely.
4 months ago
lelemka0
4531a7e228
CertificateObject: Enable auto-reload for cacert & Add buildChain & Fixes ( #3607 )
4 months ago
RPRX
60553a6c26
SplitHTTP server: Add noSSEHeader
...
https://github.com/XTLS/Xray-core/pull/3603#issuecomment-2254968219
4 months ago
mmmray
59f6685774
SplitHTTP: More range options, change defaults, enforce maxUploadSize, fix querystring behavior ( #3603 )
...
* maxUploadSize and maxConcurrentUploads can now be ranges on the client
* maxUploadSize is now enforced on the server
* the default of maxUploadSize is 2MB on the server, and 1MB on the client
* the default of maxConcurrentUploads is 200 on the server, and 100 on the client
* ranges on the server are treated as a single number. if server is configured as `"1-2"`, server will enforce `2`
* querystrings in `path` are now handled correctly
4 months ago
mmmray
8a4217fdf5
SplitHTTP client: Add minUploadInterval ( #3592 )
4 months ago
mmmray
7cf5ee8afd
WS, HU: Remove unnecessary sleep from test ( #3600 )
4 months ago
mmmray
2becdd6414
SplitHTTP server: Fix panic during concurrent Close and Push ( #3593 )
...
When Close and Push are called concurrently, it may happen that Push attempts to write to an already-closed channel, and trigger a panic.
From a user perspective, it results in logs like this:
http: panic serving 172.19.0.6:50476: send on closed channel
It's probably triggered when download is closed at the same time an upload packet is submitted.
These panics don't crash the server and the inbound is still usable.
4 months ago
hellokindle
edae38c620
Fix SplitHTTP Unix domain socket ( #3577 )
...
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
4 months ago
RPRX
0f65aa8ed8
Fix SplitHTTP H3 waited for downResponse before uploading
...
https://github.com/XTLS/Xray-core/issues/3560#issuecomment-2241750579
4 months ago
RPRX
22535d8643
Fix SplitHTTP H3 didn't always reuse QUIC connection
...
https://github.com/XTLS/Xray-core/issues/3560#issuecomment-2241531502
4 months ago
mmmray
529f206d33
Fix serverside TLS support of SplitHTTP H1/H2 ( #3567 )
...
Fix #3566
Also update testsuite so that all tests read and write some data. Opening a connection is not enough to trigger connection errors, because the connection is so lazy.
4 months ago
チセ
964859b4bc
SplitHTTP: Remove unnecessary keepalives ( #3565 )
...
Remove keep alive since quic-go/http3 doesn't support stream reuse
Discussion see https://t.me/projectXray/3782492
Co-authored-by: Fangliding <Fangliding.fshxy@outlook.com>
Co-authored-by: xqzr <34030394+xqzr@users.noreply.github.com>
Co-authored-by: ll11l1lIllIl1lll <88377095+ll11l1lIllIl1lll@users.noreply.github.com>
4 months ago
ll11l1lIllIl1lll
a0040f13dd
SplitHTTP: Server supports HTTP/3 ( #3554 )
...
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
4 months ago
ll11l1lIllIl1lll
d8994b7603
Fix SplitHTTP H3 crash on v2rayNG ( #3559 )
...
Fixes https://github.com/XTLS/Xray-core/issues/3556
4 months ago
ll11l1lIllIl1lll
c40fc44a34
SplitHTTP: Client supports HTTP/3 ( #3543 )
...
Closes https://github.com/XTLS/Xray-core/issues/3456
Co-authored-by: Fangliding <Fangliding.fshxy@outlook.com>
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
4 months ago
yuhan6665
02cd3b8c74
Fix SplitHTTP race condition when creating new sessions ( #3533 )
...
Co-authored-by: nobody <nobody@nowhere.mars>
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
4 months ago
风扇滑翔翼
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
mmmray
c8f6ba9ff0
Add SplitHTTP Browser Dialer support ( #3484 )
5 months ago
风扇滑翔翼
308f0c64c3
Add custom Sockopt support ( #3517 )
...
* Add custom sockopt
* Add custom level
* Change field
* Sth left
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