[issue1296] hgwebcgi protocol request handling is broken

Greg Smith mercurial-bugs at selenic.com
Fri Sep 12 11:17:28 CDT 2008


New submission from Greg Smith <gasmith at gmail.com>:

It appears that hgwebcgi's protocol request handling code has been broken ever
since revision 6784, which changed all protocol handlers in protocol.py to
return generators. In wsgicgi.py, nobody's actually running the generators.

Attached is a possible fix, which mimics the way things are done for the
standalone webserver.

----------
files: hgwebcgi_proto_generator_fix.patch
messages: 7095
nosy: gasmith
priority: bug
status: unread
title: hgwebcgi protocol request handling is broken
topic: hgweb

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1296>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgwebcgi_proto_generator_fix.patch
Type: application/octet-stream
Size: 390 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080912/a2675939/attachment.obj 


More information about the Mercurial-devel mailing list