WSGI handler dies on a form containing only empty checkboxes
|Reported by:||Owned by:||nobody|
|Severity:||Keywords:||wsgi checkbox post request zero|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
WSGI handler hangs when submitting a form containing only empty checkboxes. Because checkboxes are unchecked, HTTP POST request has zero content-length in this case. This zero is passed forward to a socket read function which never returns.
I have attached a patch which modifies WSGI to propeply deal with this case.