##// END OF EJS Templates
commandserver: handle backlog before exiting...
commandserver: handle backlog before exiting Previously, when a chg server is exiting, it does not handle connected clients so clients may get ECONNRESET and crash: 1. client connect() # success 2. server shouldexit = True and exit 3. client recv() # ECONNRESET d7875bfbfccb makes this race condition easier to reproduce if a lot of short chg commands are started in parallel. This patch fixes the above issue by unlinking the socket path to stop queuing new connections and processing all pending connections before exit.
Jun Wu -
r30891:b1b36c64 default
Show More
Name Size Modified Last Commit Author
/ contrib / python-zstandard / c-ext
compressiondict.c Loading ...
compressionparams.c Loading ...
compressionwriter.c Loading ...
compressobj.c Loading ...
compressor.c Loading ...
compressoriterator.c Loading ...
constants.c Loading ...
decompressionwriter.c Loading ...
decompressobj.c Loading ...
decompressor.c Loading ...
decompressoriterator.c Loading ...
dictparams.c Loading ...
python-zstandard.h Loading ...