Xray-core/transport/internet/splithttp
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_client.go Add SplitHTTP Browser Dialer support (#3484) 2024-07-11 07:56:20 +00:00
client.go Fix SplitHTTP Unix domain socket (#3577) 2024-07-22 22:19:31 +02:00
config.go Add SplitHTTP Transport (#3412) 2024-06-18 05:36:36 +00:00
config.pb.go Add SplitHTTP Transport (#3412) 2024-06-18 05:36:36 +00:00
config.proto Add SplitHTTP Transport (#3412) 2024-06-18 05:36:36 +00:00
connection.go Add SplitHTTP Transport (#3412) 2024-06-18 05:36:36 +00:00
dialer.go Fix SplitHTTP H3 didn't always reuse QUIC connection 2024-07-21 08:55:03 +00:00
hub.go Fix SplitHTTP Unix domain socket (#3577) 2024-07-22 22:19:31 +02:00
lazy_reader.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
splithttp_test.go Fix SplitHTTP Unix domain socket (#3577) 2024-07-22 22:19:31 +02:00
splithttp.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
upload_queue_test.go splithttp Read() using blocking mode (#3473) 2024-06-24 11:09:24 -04:00
upload_queue.go SplitHTTP server: Fix panic during concurrent Close and Push (#3593) 2024-07-26 04:36:55 +02:00