summaryrefslogtreecommitdiff
path: root/wsgitools/scgi
AgeCommit message (Collapse)Author
2013-06-06Merge tag 'wsgitools-0.2.4' into py3kHelmut Grohne
The intent is to port the changes from 0.2.4 to py3k. Conflicts: README test.py wsgitools/scgi/forkpool.py All conflicts were resolved in a minimal way. The test suite now fails for all python versions.
2013-03-10forkpool: add a per-request timelimitHelmut Grohne
2012-11-01scgi.forkpool: implement RLIMIT_CPUHelmut Grohne
The limit is only set on workers does not apply to the master. Upon reaching the soft limit the worker terminates after finished the current request.
2012-11-01scgi.forkpool: fixed wrong assertionHelmut Grohne
The forkpool server was incompatible with dumb generators. They only call start_response when being asked for the first output element, but the forkpool server was wrongly requiring start_response to be called before returning the iterator.
2012-11-01scgi.forkpool: similarly drop the error attributeHelmut Grohne
It can be stored inside the config attribute.
2012-11-01scgi.forkpool: reduce instance attributesHelmut Grohne
The interface and port attributes are always used together. Combine them in order to reduce complexity.
2012-06-29make scgi.forkpool work with py3kHelmut Grohne
Note that the construction of the header moved from our internal sendheaders function to the start_response function. This way users supplying unicode characters no representable in iso-8859-1 will get a UnicodeEncodeError back from start_response, which is more useful than failing later while yielding bytes.
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-28provide py3 style __next__ methodsHelmut Grohne
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-17set __all__ in scgi.forkpoolHelmut Grohne
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
2010-05-25bugfix: endless loop for closed connection in scgi.forkpoolHelmut Grohne
2009-10-25observed SocketFileWrapper bug fixedHelmut Grohne
2009-10-25more SocketFileWrapper (forkpool) bugsHelmut Grohne
2009-10-25SocketFileWrapper from forkpool contained more bugsHelmut Grohne
2009-10-25socket.socket.recv requires a parameterHelmut Grohne
2009-08-25added enable_sighandler for scgi.forkpoolHelmut 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-26made scgi.forkpool wsgi compliant in handling exc_infoHelmut Grohne
2009-02-01wsgi compliance: scgi.asynchronous no longer holds dataHelmut Grohne
2009-02-01added config parameter (for environ) to scgi.forkpoolHelmut Grohne
2009-02-01added config parameter (for environ) to scgi.asynchronousHelmut Grohne
2008-10-14added epydoc markup to doc stringsHelmut Grohne
2008-09-22improve commentsHelmut Grohne
2008-09-22make limits in scgi.asynchronous configurableHelmut Grohne
2008-09-22added a description to scgi.forkpoolHelmut Grohne
2008-07-09speed up receiving data in forkpoolHelmut Grohne
2008-07-09check for whether environ contains CONTENT_LENGTHHelmut Grohne
2008-07-08epydoc syntax fixes in scgi.forkpoolHelmut Grohne
2008-07-08environ["wsgi.input"].read fixed in scgi.forkpoolHelmut Grohne
2008-07-08refactor scgi.forkpool socket handlingHelmut Grohne
2008-03-28fixed non-fatal bugsHelmut Grohne
2008-03-28implement size parameter for environ["wsgi.input"].readline on scgi.forkpoolHelmut Grohne
2008-03-02improved scgi.forkpool.SocketFileWrapper a lotHelmut Grohne
2008-03-02fixed silly POST bug in scgi.forkpoolHelmut Grohne
2008-02-28refactored docstrings for epydocHelmut Grohne
2008-02-28scgi.forkpool: start_response must accept a third parameterHelmut 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