[PATCH] chgserver: explicitly set blocking on client socket
Sean Farley
sean at farley.io
Thu Mar 10 14:25:58 EST 2016
Yuya Nishihara <yuya at tcha.org> writes:
> On Wed, 9 Mar 2016 23:58:12 +0000, Jun Wu wrote:
>> # HG changeset patch
>> # User Jun Wu <quark at fb.com>
>> # Date 1457567852 0
>> # Wed Mar 09 23:57:32 2016 +0000
>> # Node ID 9a176f60278dd6cd43a8f1a3940d410da2eed731
>> # Parent b0ed6e1cf51a6c44c5323a35622bea0e35fd0b0d
>> chgserver: explicitly set blocking on client socket
>>
>> hgcia.py uses socket.setdefaulttimeout and it will make every new socket object
>> behave differently. This patch explicitly set client socket to be blocking
>> without a timeout and makes it possible for chg to pass test-hgcia.t
>
> The other socket operation would be suffered by this as well. Perhaps we should
> fix hgcia.py instead.
Isn't the cia dead? Should we just drop it?
More information about the Mercurial-devel
mailing list