[PATCH] chg: handle EOF reading data block
Jun Wu
quark at fb.com
Tue Jul 19 14:56:41 UTC 2016
Excerpts from Yuya Nishihara's message of 2016-07-19 22:29:55 +0900:
> It's datagram socket (e.g. UDP).
You are right. I should have checked commandserver is using SOCK_STREAM and
unaffected. Now we can treat an empty response as an error.
> Yeah, I have that patch to make commandserver channels thread safe. Do you
> have any extensions that can share ui across threads?
We have some "daemonize" code that use processes to build or rearrange cache
in the background. I think we may want some standard "daemonize" code in
util to make sure stdios are closed.
More information about the Mercurial-devel
mailing list