Show More
@@ -176,6 +176,8 b' class hgweb(object):' | |||||
176 | '').lower() != '100-continue') or |
|
176 | '').lower() != '100-continue') or | |
177 | req.env.get('X-HgHttp2', '')): |
|
177 | req.env.get('X-HgHttp2', '')): | |
178 | req.drain() |
|
178 | req.drain() | |
|
179 | else: | |||
|
180 | req.headers.append(('Connection', 'Close')) | |||
179 | req.respond(inst, protocol.HGTYPE, |
|
181 | req.respond(inst, protocol.HGTYPE, | |
180 | body='0\n%s\n' % inst.message) |
|
182 | body='0\n%s\n' % inst.message) | |
181 | return '' |
|
183 | return '' |
General Comments 0
You need to be logged in to leave comments.
Login now