Xray-core/transport/internet
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.
2024-07-26 04:36:55 +02:00
..
browser_dialer Add SplitHTTP Browser Dialer support (#3484) 2024-07-11 07:56:20 +00:00
domainsocket Fix typos (#3527) 2024-07-12 00:20:06 +02:00
grpc Refactor log (#3446) 2024-06-29 14:32:57 -04:00
headers Fix typos (#3527) 2024-07-12 00:20:06 +02:00
http Properly parse HTTP host for verification 2024-07-07 22:35:11 -04:00
httpupgrade Fix WS reading X-Forwarded-For & Add tests (#3546) 2024-07-17 10:40:25 +00:00
kcp Refactor log (#3446) 2024-06-29 14:32:57 -04:00
quic Refactor log (#3446) 2024-06-29 14:32:57 -04:00
reality Refactor log (#3446) 2024-06-29 14:32:57 -04:00
splithttp SplitHTTP server: Fix panic during concurrent Close and Push (#3593) 2024-07-26 04:36:55 +02:00
stat Fix: CounterConnection with ReadV/WriteV (#720) 2021-09-20 20:11:21 +08:00
tagged Refactor log (#3446) 2024-06-29 14:32:57 -04:00
tcp Refactor log (#3446) 2024-06-29 14:32:57 -04:00
tls Refactor log (#3446) 2024-06-29 14:32:57 -04:00
udp Refactor log (#3446) 2024-06-29 14:32:57 -04:00
websocket Fix WS reading X-Forwarded-For & Add tests (#3546) 2024-07-17 10:40:25 +00:00
config.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
config.pb.go Add custom Sockopt support (#3517) 2024-07-09 12:19:31 -04:00
config.proto Add custom Sockopt support (#3517) 2024-07-09 12:19:31 -04:00
dialer_test.go Reformat code 2022-05-18 15:29:01 +08:00
dialer.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
filelocker_other.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
filelocker_windows.go v1.0.0 2020-11-25 19:01:53 +08:00
filelocker.go v1.0.0 2020-11-25 19:01:53 +08:00
header_test.go v1.1.0 2020-12-04 09:36:16 +08:00
header.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
internet.go Properly parse HTTP host for verification 2024-07-07 22:35:11 -04:00
memory_settings.go Fix typos (#3527) 2024-07-12 00:20:06 +02:00
sockopt_darwin.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
sockopt_freebsd.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
sockopt_linux_test.go v1.1.0 2020-12-04 09:36:16 +08:00
sockopt_linux.go Add custom Sockopt support (#3517) 2024-07-09 12:19:31 -04:00
sockopt_other.go Remove dragonfly build 2023-11-12 14:30:50 -05:00
sockopt_test.go Reformat code 2022-05-18 15:29:01 +08:00
sockopt_windows.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
sockopt.go Fix: TFO AsIs bug (#452) 2021-03-30 16:42:02 +00:00
system_dialer.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
system_listener_test.go Update dependencies 2023-04-23 19:32:07 +08:00
system_listener.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
tcp_hub.go Fix typos (#3527) 2024-07-12 00:20:06 +02:00