Mercurial > hg
comparison contrib/plan9/proto @ 41441:44d752efdbce
keepalive: implement _close_conn() so closes are known
Keepalives were not working on Python 3 because
http.client.HTTPResponse was refactored to call _close_conn()
instead of close(). Our custom close() is what returns inactive
connections to the available state.
We better support Python 3 by implementing a _close_conn().
Differential Revision: https://phab.mercurial-scm.org/D5720
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 26 Jan 2019 13:52:39 -0800 |
parents | cf137319c6cd |
children |
comparison
equal
deleted
inserted
replaced
41440:1bc01490178a | 41441:44d752efdbce |
---|