Show More
@@ -50,6 +50,9 b" configitem('badserver', 'closeafteraccep" | |||
|
50 | 50 | configitem('badserver', 'closeafterrecvbytes', |
|
51 | 51 | default=0, |
|
52 | 52 | ) |
|
53 | configitem('badserver', 'closeaftersendbytes', | |
|
54 | default=0, | |
|
55 | ) | |
|
53 | 56 | |
|
54 | 57 | # We can't adjust __class__ on a socket instance. So we define a proxy type. |
|
55 | 58 | class socketproxy(object): |
@@ -272,7 +275,7 b' def extsetup(ui):' | |||
|
272 | 275 | closeafterrecvbytes = self._ui.configint('badserver', |
|
273 | 276 | 'closeafterrecvbytes') |
|
274 | 277 | closeaftersendbytes = self._ui.configint('badserver', |
|
275 |
'closeaftersendbytes' |
|
|
278 | 'closeaftersendbytes') | |
|
276 | 279 | |
|
277 | 280 | if closeafterrecvbytes or closeaftersendbytes: |
|
278 | 281 | socket = socketproxy(socket, self.errorlog, |
General Comments 0
You need to be logged in to leave comments.
Login now