summaryrefslogtreecommitdiff
path: root/paste/httpserver.py
Commit message (Collapse)AuthorAgeFilesLines
...
* removing outdated commentcce2007-03-071-2/+1
|
* - keep lookups as default, since that's how it was beforecce2007-03-051-1/+1
|
* making host address lookups optionalcce2007-03-051-5/+13
| | | | not looking up host addresses if they are private NATs
* Call exc_clear after worker threads are done, to remove any lingering frames ↵ianb2007-02-211-1/+12
| | | | from past exceptions
* Do not set REMOTE_HOST, as it requires a reverse DNS lookupianb2007-02-051-1/+11
|
* Allow httpserver's readline to take an optional argument (max length) which ↵ianb2007-02-011-2/+2
| | | | the cgi module uses.
* Limit number of bytes returned by environ['wsgi.input'].read(), so you can't ↵ianb2007-01-301-0/+63
| | | | read past end
* make paste.httpserver support all request methodsianb2007-01-301-2/+16
|
* Allow killing of errant threads through the web application (also add a ↵ianb2007-01-301-8/+39
| | | | module to kill threads with ctypes, and a method to kill threads from the httpserver thread pool)
* Add a variable to track the requests currently being processed by the ↵ianb2007-01-301-3/+18
| | | | httpserver (to see wedged threads)
* normpath returns '/' for the root, avoid reapplying the end slash in that casepjenvey2007-01-061-1/+1
|
* Not that good fixup of a problem where the end slash is lost under Paste's ↵ianb2007-01-051-0/+4
| | | | HTTP server
* SocketServer doesn't like new-style request handler classespjenvey2007-01-051-1/+1
|
* convert old-style classes to new-style classespjenvey2007-01-051-2/+2
|
* time.time() is too coarse for cert serials: use a randint insteadpjenvey2006-12-201-1/+1
| | | | (thanks jek)
* daemon_threads fix in r6009 was invalid, revertingpjenvey2006-12-201-3/+2
|
* o the _auto_ssl_context cert serial number must be an int not a longpjenvey2006-12-201-6/+10
| | | | | o show the correct protocol in serve's advertised URL o allow serve's daemon_threads option with WSGIThreadPoolServer
* Don't confuse people with inaccurate messageianb2006-12-201-2/+3
|
* Add atexit importianb2006-12-181-1/+2
|
* Apply #146, avoid orphaned threadpool, from jekianb2006-12-181-6/+12
|
* Apply #145, put http:// before URLs when starting serverianb2006-12-181-1/+4
|
* Security fix for StaticURLParser, plus unquote SCRIPT_NAME and PATH_INFO, ↵ianb2006-12-181-1/+4
| | | | plus don't double-unquote in StaticURLParser
* allow ssl_context and auto-generated certs, from Jason Kirtland; closes #143ianb2006-12-141-9/+45
|
* fixed ThreadPoolMixIn.server_close to shutdown its thread poolpjenvey2006-12-131-0/+1
| | | | | fixed #140 (thanks jek)
* Change CONTENT_LENGTH's default to '0', not ''ianb2006-11-271-1/+1
|
* fixed openid failures not returning a correct responsepjenvey2006-11-221-1/+1
| | | | submitted by: Christopher Baus
* more whitespace changesianb2006-10-201-4/+4
|
* Purely whitespace changes, suggested by pylintianb2006-10-201-21/+21
|
* Add docstring for all the entry pointsianb2006-10-201-4/+2
|
* Paste should not depend upon other paste modules, suchcce2006-09-211-1/+1
| | | | | | | | | as Deploy. This patch moves 'converters' into paste.util since it was being used within paste proper. I'll leave it to those who know Deploy to update that. - copied converters.py from paste.deploy to paste.util - updated files that use paste.deploy.converters
* Removed Paste Deploy dependencies in many placesianb2006-08-191-1/+1
|
* added WSGIThreadPoolServer. Provides much better performance thanpjenvey2006-07-191-9/+146
| | | | | | | | WSGIServer. paste.httpserver.serve now uses the thread pooled server by default. Users can set the number of worker threads (defaults to 10) or switch back to the normal WSGIServer with config file toggles. submitted by: james@jamestaylor.org (Thanks!) resolves: #112
* Added copyright header to a bunch of filesianb2006-06-131-0/+2
|
* Change wsgi.run_once to falseianb2006-05-241-1/+1
|
* Accidentally left a debugging print statement inbbangert2006-05-121-1/+0
|
* Paste HTTP Server was destroy duplicate HTTP headers rather than properly ↵bbangert2006-05-121-5/+6
| | | | combining them according to http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
* Handle a host:port configurationianb2006-03-301-1/+7
|
* moving 'serving on...' inside start_loop as suggested by mitsuhiko on irccce2006-03-201-1/+1
|
* - remove default transaction logging feature since this cancce2006-03-081-0/+16
| | | | | cause DNS timeout issues for some users who do not have their network configured correctly
* There are class of unavoidable socket errors that occur whencce2006-03-051-16/+18
| | | | | | users click STOP or close their browsers during a SSL connection; unfortunately pyOpenSSL didn't subclass socket.error for these classes -- so we put in a work-around.
* - misspelled daemon ;(cce2006-01-111-3/+3
|
* - default server_version was in wrong spot ;)cce2006-01-111-2/+1
|
* - updated httpserver to have better documentation for serve()cce2006-01-111-38/+112
| | | | | | | | | | | | - added socket_timeout option - added deamon_threads option - the port option to serve() can now be a string - now catching and re-routing most socket errors (which are routine) - converted reload.py to use a deamon thread - added comment why os._exit is used - removed raise_keyboard_interrupt option (this might need to be re-added later, just not sure what it does)
* - put where deamon_threads option should be (but commented out)cce2006-01-111-0/+1
|
* always send response even if there isn't a body (dumb mistake)cce2006-01-111-0/+2
|
* moving httpserver from util sub-package up a levelcce2006-01-091-0/+373