summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/asynchronous.py
AgeCommit message (Collapse)Author
2023-06-18reraise py3 exceptions as advised in pep3333Helmut Grohne
2023-06-17scgi.asynchronous: remove unused address argument and attributeHelmut Grohne
2020-04-02avoid changing variable typesHelmut Grohne
The mypy type checker deals badly when a binding changes its type. To ease porting to mypy, avoid changing the type of variables. In some cases, variables can be eliminated. In other cases, they are renamed.
2017-03-26scgi.asynchronous: fix wrong assertion on py3kHelmut Grohne
2013-12-09fix possible uncaught ValueError from scgi serversHelmut Grohne
With unicode strings it no longer holds that if s.isdigit() then you can safely int(s), because there are more digits (such as ^3 \xb3) accepted by isdigit. This can cause an uncaught ValueError in certain places if the remote scgi server presents bogus data. Thanks to Klaus Aehlig for pointing out what isdigit accepts.
2012-06-29scgi.asynchronous: move {en,de}coding to internal moduleHelmut Grohne
2012-06-28make scgi.asynchronous work with py3Helmut Grohne
2012-06-28first part of bytes conversionHelmut Grohne
Convert the request body data from str to bytes. This replaces all StringIOs with BytesIOs (removing backwards one more backwards compatibility). Also all character sequences involved in request bodies get a b"" prefix. The StaticContent application takes bytes instead of str (no difference for py2x). The GzipWSGIFilter needs a fixed as a truncate of a BytesIO does not rewind the stream position.
2012-06-28drop support for python2.5, use except ... as ...Helmut Grohne
2012-03-17sendfile supportHelmut Grohne
When a sendfile library is available, expose it via wsgi.file_wrapper. This support spans both asynchronous and forkpool.
2012-03-17deduplicate scgi.{asynchronous,forkpool}Helmut Grohne
2011-11-30documentation updateHelmut Grohne
* added a number of internal links (L{...}) * some fixes * some additions
2011-08-19scgi: support reusing a listen socketHelmut Grohne
This is useful when used in combination with e.g. systemd.
2011-07-18adapt exc_info handling for python 3Helmut Grohne
2011-01-12scgi.asynchronous catches more errors nowHelmut Grohne
This addresses a disputed denial of service condition described in http://bugs.python.org/issue6706. Note that wsgitools is not hit as hard as pyftplib.
2010-08-31bugfix: io module from py2.6 provides incompatible StringIOHelmut Grohne
2009-03-29get rid of old builtin longHelmut Grohne
Even Py2.4 can handle large parameters to int, so long is not needed.
2009-03-29quite some changes for py3Helmut Grohne
These changes introduce some compatibility code. They don't make wsgitools usable with Python 3.0, but they also don't break compatibility with Python 2.5.
2009-02-01wsgi compliance: scgi.asynchronous no longer holds dataHelmut Grohne
2009-02-01added config parameter (for environ) to scgi.asynchronousHelmut Grohne
2008-10-14added epydoc markup to doc stringsHelmut Grohne
2008-09-22make limits in scgi.asynchronous configurableHelmut Grohne
2008-07-09check for whether environ contains CONTENT_LENGTHHelmut Grohne
2008-02-28refactored docstrings for epydocHelmut Grohne
2007-09-20added assertions for not getting unicode stringsHelmut Grohne
2007-09-11fix scgi.asynchronous to work with empty responsesHelmut Grohne
2007-04-25some environ fixups in scgi.*Helmut Grohne
2007-04-21added some assertionsHelmut Grohne
2007-04-18fixed grave data sending bug in wsgitools.scgiHelmut Grohne
2007-04-17added wsgitools.scgi.forkpoolHelmut Grohne
wsgitools.scgi is now known as wsgitools.scgi.asynchronous