pywsgi: fix multiple issues with chunked encoding.
- short writes could force the server into a busy loop (i.e. basically a DOS attack) - fix handling of trailing crlf when reading input with a length parameter - fix handling of wsgi apps not consuming the whole input. - make readline work with chunked input - respect size parameter to readline method even if this isn't strictly required by the WSGI spec. --HG-- extra : transplant_source : W%F8%B8y%C5_%83%C2%8B%1C%A6Ntn%8Bj%3F%29%86%04
Showing
Please register or sign in to comment