Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-17 | scgi.asynchronous: remove unused address argument and attribute | Helmut Grohne | |
2020-04-02 | avoid changing variable types | Helmut 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. | |||
2020-03-09 | remove unnecessary pass statements | Helmut Grohne | |
Reported-by: pylint | |||
2019-03-10 | scgi.forkpool: fix SIGTERM handler in the presence of PEP475 | Helmut Grohne | |
Since PEP475 or Python 3.5, select retries an interrupted system call. However, we were relying on the previous behaviour. Thus we must interrupt select using some other measure. Another socketpair is created and the signal handler transfers a byte on shutdown. | |||
2019-03-10 | wsgitools.scgi.forkpool: improve debugging broken wsgi apps | Helmut Grohne | |
2017-03-26 | scgi.asynchronous: fix wrong assertion on py3k | Helmut Grohne | |
2015-04-18 | Merge branch py3k | Helmut Grohne | |
2014-01-06 | switch to new-style classes entirely | Helmut Grohne | |
There is no reason to use old-style classes beyond laziness. | |||
2013-12-09 | fix possible uncaught ValueError from scgi servers | Helmut 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. | |||
2013-06-06 | Merge tag 'wsgitools-0.2.4' into py3k | Helmut 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-10 | forkpool: add a per-request timelimit | Helmut Grohne | |
2012-11-01 | scgi.forkpool: implement RLIMIT_CPU | Helmut 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-01 | scgi.forkpool: fixed wrong assertion | Helmut 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-01 | scgi.forkpool: similarly drop the error attribute | Helmut Grohne | |
It can be stored inside the config attribute. | |||
2012-11-01 | scgi.forkpool: reduce instance attributes | Helmut Grohne | |
The interface and port attributes are always used together. Combine them in order to reduce complexity. | |||
2012-06-29 | make scgi.forkpool work with py3k | Helmut 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-29 | scgi.asynchronous: move {en,de}coding to internal module | Helmut Grohne | |
2012-06-28 | make scgi.asynchronous work with py3 | Helmut Grohne | |
2012-06-28 | first part of bytes conversion | Helmut 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-28 | provide py3 style __next__ methods | Helmut Grohne | |
2012-06-28 | drop support for python2.5, use except ... as ... | Helmut Grohne | |
2012-03-17 | sendfile support | Helmut Grohne | |
When a sendfile library is available, expose it via wsgi.file_wrapper. This support spans both asynchronous and forkpool. | |||
2012-03-17 | set __all__ in scgi.forkpool | Helmut Grohne | |
2012-03-17 | deduplicate scgi.{asynchronous,forkpool} | Helmut Grohne | |
2011-11-30 | documentation update | Helmut Grohne | |
* added a number of internal links (L{...}) * some fixes * some additions | |||
2011-08-19 | scgi: support reusing a listen socket | Helmut Grohne | |
This is useful when used in combination with e.g. systemd. | |||
2011-07-18 | adapt exc_info handling for python 3 | Helmut Grohne | |
2011-01-12 | scgi.asynchronous catches more errors now | Helmut 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-31 | bugfix: io module from py2.6 provides incompatible StringIO | Helmut Grohne | |
2010-05-25 | bugfix: endless loop for closed connection in scgi.forkpool | Helmut Grohne | |
2009-10-25 | observed SocketFileWrapper bug fixed | Helmut Grohne | |
2009-10-25 | more SocketFileWrapper (forkpool) bugs | Helmut Grohne | |
2009-10-25 | SocketFileWrapper from forkpool contained more bugs | Helmut Grohne | |
2009-10-25 | socket.socket.recv requires a parameter | Helmut Grohne | |
2009-08-25 | added enable_sighandler for scgi.forkpool | Helmut Grohne | |
2009-03-29 | get rid of old builtin long | Helmut Grohne | |
Even Py2.4 can handle large parameters to int, so long is not needed. | |||
2009-03-29 | quite some changes for py3 | Helmut 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-26 | made scgi.forkpool wsgi compliant in handling exc_info | Helmut Grohne | |
2009-02-01 | wsgi compliance: scgi.asynchronous no longer holds data | Helmut Grohne | |
2009-02-01 | added config parameter (for environ) to scgi.forkpool | Helmut Grohne | |
2009-02-01 | added config parameter (for environ) to scgi.asynchronous | Helmut Grohne | |
2008-10-14 | added epydoc markup to doc strings | Helmut Grohne | |
2008-09-22 | improve comments | Helmut Grohne | |
2008-09-22 | make limits in scgi.asynchronous configurable | Helmut Grohne | |
2008-09-22 | added a description to scgi.forkpool | Helmut Grohne | |
2008-07-09 | speed up receiving data in forkpool | Helmut Grohne | |
2008-07-09 | check for whether environ contains CONTENT_LENGTH | Helmut Grohne | |
2008-07-08 | epydoc syntax fixes in scgi.forkpool | Helmut Grohne | |
2008-07-08 | environ["wsgi.input"].read fixed in scgi.forkpool | Helmut Grohne | |
2008-07-08 | refactor scgi.forkpool socket handling | Helmut Grohne | |