summaryrefslogtreecommitdiff
path: root/flup
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTP status code 500 for error pages.Allan Saddi2011-01-113-6/+12
|
* Don't try to restore signal handlers if they weren't installed inAllan Saddi2010-10-141-1/+2
| | | | the first place. #54
* Improvements to *_app._getConnection methods suggested byAllan Saddi2010-10-052-4/+12
| | | | Andrej A Antonov. Thanks!
* Be sure thread is imported since we reference thread.error.Allan Saddi2010-05-251-0/+1
|
* avoid socket.fromfd AttributeError on win32 if cgi is forced, give helpful ↵Allan Saddi2010-02-201-15/+28
| | | | | | exception for fcgi (by Thomas Waldmann, via moinmoin, changesets 49f8dd576950, 661057dc4d09)
* Fix for FastCGI CGI-mode which was broken by timeout feature.Allan Saddi2010-02-171-0/+1
|
* A fix to the previous memory leak fix.Allan Saddi2010-02-161-1/+1
|
* Fix memory leak in threadpool.Allan Saddi2010-02-121-0/+1
|
* If start_new_thread fails, ensure the FastCGI request is properly closed.Allan Saddi2010-02-121-1/+4
|
* add minSpare, maxSpare, maxChildren and maxRequests options to paste server ↵olt2010-02-121-6/+40
| | | | factories
* Cancel alarm before restoring old SIGALRM handler. #43Allan Saddi2009-11-044-0/+4
|
* Exit gracefully if a thread cannot be started when adding a new job. #42Allan Saddi2009-10-271-1/+4
|
* fixed an issue where sending the parent a USR1 when a child is in an ↵David Stanek2009-10-211-1/+4
| | | | infinite loop crashes the parent.
* Add configurable timeout (default: no timeout) to be used when theAllan Saddi2009-10-219-18/+86
| | | | WSGI application is called. Only applies to forked servers!
* Restore check of the absolute number of children against maxSpare andAllan Saddi2009-08-171-2/+6
| | | | document rationale.
* fix fork bomb and check number of children against minSpare not maxSpareJon Nelson2009-08-171-1/+6
|
* Don't break on platforms without SIGUSR1 (e.g. Windows).Allan Saddi2009-07-151-2/+4
|
* Adding initial support for purging child processes in a safe way using SIGUSR1.David Stanek2009-07-161-4/+29
|
* tweak for docs building with SphinxJon Nelson2009-07-065-161/+191
|
* Don't use NoDefault for ajp's scriptName -- it always must be specified sinceAllan Saddi2009-06-121-1/+1
| | | | there's no (standard) way to deduce it.
* change debug to default to FalseJon Nelson2009-06-1212-30/+64
| | | | | for paste entry points, get debug from local_conf, then global_conf, then just use False
* Fix bug in scgi servers that occurs when SCRIPT_NAME is missing.Allan Saddi2009-06-051-1/+1
|
* Use old API for daemon flag, for compatibility with Python < 2.6.Allan Saddi2009-05-291-1/+1
|
* Ensure ThreadPool threads are daemon threads.Allan Saddi2009-05-291-0/+1
|
* Call ThreadPool.shutdown() from threaded scgi server as well.Allan Saddi2009-05-292-0/+5
| | | | Make note of why it isn't called in ajp.
* Let all the active requests to finish before quittingAnand Chitipothu2009-05-293-27/+55
|
* Import Paste factories (and dependencies...) from PasteScriptAllan Saddi2009-05-188-42/+117
|
* Be tolerant of EAGAIN when sending messages to parent process.Allan Saddi2009-05-041-13/+18
|
* Add forceCGI keyword argument to FastCGI servers toAllan Saddi2009-02-024-9/+15
| | | | programmatically force CGI behavior.
* Merge Tommi Virtanen's "single server" (sequential server)Allan Saddi2009-02-022-0/+323
| | | | patch.
* Re-seed random module after each fork.Allan Saddi2008-09-261-1/+15
|
* Add an indication as to which header fails assertion whenAllan Saddi2008-09-113-6/+6
| | | | passing in non-string header names and/or values.
* Add support for setting umask for UNIX domain sockets fromAllan Saddi2008-08-201-0/+2
| | | | paste.server_factory implementations.
* Add support for configuring UNIX domain sockets (for servers thatAllan Saddi2008-07-231-1/+5
| | | | support them) in the paste.server_factory implementations.
* Revise previous patch for compatibility with pre-2.5 Python.Allan Saddi2008-07-223-10/+23
|
* Attempt to deduce missing PATH_INFO and/or QUERY_STRING fromAllan Saddi2008-07-223-10/+25
| | | | REQUEST_URI, if present.
* Remove publisher and middleware packages. Add cgi server for completeness.1.0Allan Saddi2007-06-0514-2838/+71
|
* Fix readline implementations so size argument is checkedAllan Saddi2007-09-102-6/+6
| | | | | earlier. (transplanted from f1cc536d3f42ce695e4401ad729eec1985803579)
* Prevent ThreadPool inconsistences if an exception is actually raised.Allan Saddi2007-07-141-1/+6
|
* Fix fcgi_fork so it can run on Solaris.Allan Saddi2007-05-171-3/+6
|
* Catch and ignore EPIPE when flushing the streams and ending the request.Allan Saddi2007-05-111-2/+6
|
* Fix eunuchs import issue.Allan Saddi2007-01-231-1/+1
|
* Support gzip compression of XHTML pages using theAllan Saddi2007-01-101-1/+1
| | | | | correct MIME type.
* Re-commit r2304 since it was found that mod_scgi does set SCRIPT_NAME/Allan Saddi2007-01-023-20/+37
| | | | | PATH_INFO correctly when using SCGIMount (vs. SCGIHandler/SCGIServer).
* Back out previous commit. PATH_INFO is still not setAllan Saddi2006-12-293-37/+20
| | | | | correctly by mod_scgi.
* Deprecate WSGI_SCRIPT_NAME and scriptName in scgi_base.Allan Saddi2006-12-293-20/+37
| | | | | | Modern versions of mod_scgi correctly set SCRIPT_NAME & PATH_INFO.
* Fix problem in session.py seen when optimization is on.Allan Saddi2006-12-131-5/+5
|
* Fix problem when optimizing.Allan Saddi2006-12-131-1/+3
|
* Update servers to default to an empty QUERY_STRING ifAllan Saddi2006-12-0510-6/+26
| | | | | | | not present in the environ. Update gzip.py: compresslevel -> compress_level
* Update gzip.py by updating docstrings and renamingAllan Saddi2006-12-051-73/+100
| | | | | | classes/methods/functions to better follow Python naming conventions.