4b616f5cd0
XHTTP server: Switch to Go 1.24 native h2c support ( #4451 )
2025-03-02 13:02:40 +00:00
b786a50aee
XHTTP server: Fix stream-up "single POST problem", Use united httpServerConn instead of recover()
...
https://github.com/XTLS/Xray-core/issues/4373#issuecomment-2671795675
https://github.com/XTLS/Xray-core/issues/4406#issuecomment-2668041926
2025-02-20 16:28:06 +00:00
52381a3c03
v25.2.18
...
Announcement of NFTs by Project X: https://github.com/XTLS/Xray-core/discussions/3633
Project X NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1
XHTTP: Beyond REALITY: https://github.com/XTLS/Xray-core/discussions/4113
REALITY NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
2025-02-18 11:55:07 +00:00
8cb63db6c0
XHTTP server: Set remoteAddr & localAddr correctly
...
Completes 22c50a70c6
2025-02-18 10:50:50 +00:00
dcd7e92c45
XHTTP server: Finish stream-up's HTTP POST when its request.Body is closed
...
https://github.com/XTLS/Xray-core/issues/4373#issuecomment-2647908310
Fixes https://github.com/XTLS/Xray-core/issues/4373
2025-02-10 13:56:13 +00:00
a7a83624c5
Upgrade quic-go to official v0.49.0
...
https://github.com/quic-go/quic-go/releases/tag/v0.49.0
https://github.com/quic-go/quic-go/pull/4749
https://github.com/quic-go/quic-go/pull/4798
2025-01-26 11:47:30 +00:00
ca9a902213
XHTTP server: Add scStreamUpServerSecs
, enabled by default ( #4306 )
...
Fixes https://github.com/XTLS/Xray-core/discussions/4113#discussioncomment-11682833
2025-01-19 13:32:07 +00:00
14a6636a41
XHTTP client: Move x_padding
into Referer
header ( #4298 )
...
""Breaking"": Update the server side first, then client
2025-01-18 12:05:19 +00:00
ce6c0dc690
XHTTP XMUX: Abandon client
if client.Do(req)
failed ( #4253 )
...
51769fdde1
2025-01-06 14:06:11 +00:00
53b04d560b
XHTTP client: Make H3 httptrace work on v2rayNG
...
Introduced in https://github.com/XTLS/Xray-core/pull/4150
2024-12-20 07:19:41 +00:00
7463561856
XHTTP client: Add decideHTTPVersion() and more logs
...
https://github.com/XTLS/Xray-core/pull/4150#issuecomment-2537981368
2024-12-12 12:19:18 +00:00
8cd9a74376
XHTTP client: Refactor "packet-up" mode, chasing "stream-up" ( #4150 )
...
* Add wroteRequest (waiting for new quic-go)
* Use XTLS/quic-go instead
* Client doesn't need `scMaxConcurrentPosts` anymore
* GotConn is available in H3
* `scMaxConcurrentPosts` -> `scMaxBufferedPosts` (server only, 30 by default)
Fixes https://github.com/XTLS/Xray-core/issues/4100
2024-12-11 14:05:39 +00:00
98a72b6fb4
v24.11.30
...
REALITY NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
2024-11-30 04:16:35 +00:00
f7bd98b13c
XHTTP: Add "stream-one" mode for client & server ( #4071 )
...
""Breaking"": Client uses "stream-one" mode by default when using **REALITY** ("stream-up" if "downloadSettings" exists)
2024-11-27 20:19:18 +00:00
bc4bf3d38f
XHTTP: Add "stream-up" mode for client & server ( #3994 )
2024-11-09 11:05:41 +00:00
e733148c0b
REALITY: Unblock SplitHTTP transport ( #3816 )
...
https://github.com/XTLS/Xray-core/pull/3816#issuecomment-2445694775
2024-10-30 02:31:05 +00:00
3632e83faa
Transport: Add HTTP3 to HTTP ( #3819 )
2024-09-26 01:29:41 +00:00
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.
2024-09-03 02:25:15 +00:00
83eef6bc1f
SplitHTTP: Fix connection leaks and crashes ( #3710 )
2024-08-22 17:07:57 +02:00
0c7303960a
SplitHTTP server: Add "Cache-Control: no-store" to GET response ( #3652 )
...
https://github.com/XTLS/Xray-core/pull/3652#issuecomment-2282308407
2024-08-10 23:59:42 +00:00
513182adf3
SplitHTTP server: Only "ok" to older clients ( #3671 )
...
https://github.com/XTLS/Xray-core/pull/3643#issuecomment-2282304185
2024-08-10 23:56:25 +00:00
a3b306aaa4
SplitHTTP: Replace responseOkPadding with xPaddingBytes ( #3643 )
2024-08-10 21:47:42 +00:00
4b7947cca9
SplitHTTP server: add ok padding ( #3614 )
2024-08-02 03:16:19 +02:00
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)
2024-07-29 10:10:29 +00:00
60553a6c26
SplitHTTP server: Add noSSEHeader
...
https://github.com/XTLS/Xray-core/pull/3603#issuecomment-2254968219
2024-07-29 06:32:04 +00:00
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
2024-07-29 04:35:17 +00:00
edae38c620
Fix SplitHTTP Unix domain socket ( #3577 )
...
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com >
2024-07-22 22:19:31 +02:00
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.
2024-07-20 19:35:24 -05:00
a0040f13dd
SplitHTTP: Server supports HTTP/3 ( #3554 )
...
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com >
2024-07-19 17:53:47 +00:00
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 >
2024-07-17 11:41:17 +00:00
c8f6ba9ff0
Add SplitHTTP Browser Dialer support ( #3484 )
2024-07-11 07:56:20 +00:00
b8c0768b16
Properly parse HTTP host for verification
...
Also fix H2 transport to not verify if host is not defined
2024-07-07 22:35:11 -04:00
4c51636788
Relax server HTTP host check
2024-07-06 15:06:58 -04:00
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
2024-06-29 14:32:57 -04:00
c0f3bf66fd
Add new header to disable HTTP middle box buffer
...
Co-Authored-By: 风扇滑翔翼 <Fangliding.fshxy@outlook.com >
2024-06-28 16:14:59 +08:00
ee2000f6e1
splithttp: Add support for H2C and http/1.1 ALPN on server ( #3465 )
...
* Add H2C support to server
* update comment
* Make http1.1 ALPN work on SplitHTTP client
Users that encounter protocol version issues will likely try to set the
ALPN explicitly. In that case we should simply grant their wish, because
the intent is obvious.
2024-06-23 13:05:37 -04:00
8fe976d7ee
Upgrade SplitHTTP Transport ( #3462 )
...
* move to paths instead of querystrings
* permit early data on serverside
* early data for the client, fix context cancellation
2024-06-20 23:30:51 +00:00
c10bd28731
Add SplitHTTP Transport ( #3412 )
2024-06-18 05:36:36 +00:00