summaryrefslogtreecommitdiff
path: root/paste
Commit message (Collapse)AuthorAgeFilesLines
* Make comments workianb2007-06-131-0/+5
|
* Added {{default}} directive to paste.util.templateianb2007-06-131-0/+30
|
* fix docs referring to cache_max_age as max_cache_agepjenvey2007-06-121-2/+2
| | | | Thanks Mike Orr
* Handle case when environ doesn't exist (request starting up)ianb2007-05-301-0/+4
|
* Added REST methods to Test, from Anders Pearsonianb2007-05-251-14/+58
|
* Fix for request.languages, which didn't pass the right value to httpheaders. ↵ianb2007-05-252-2/+2
| | | | Filter out empty languages from httpheaders.ACCEPT_LANGUAGE.
* Fix for #174; Paste Deploy entry point for paste.auth.form brokenianb2007-05-251-1/+6
|
* Fix #179, exception for accept-languagesianb2007-05-251-0/+3
|
* o make ProfileMiddleware close the consumed app_iter if applicablepjenvey2007-05-041-2/+7
| | | | | fixes "Error: app_iter.close() was not called when finishing WSGI request." o spelling
* whitespacepjenvey2007-05-041-3/+3
|
* Cleaned up the worker lifecycle logic, fixing some bugs in how workers are ↵ianb2007-04-271-34/+48
| | | | tracked. Track why worker threads are started, and include this information in the logs.
* Add __call__ to StackedObjectProxy. For cmlenzianb2007-04-261-0/+3
|
* Fix the way max_requests works, so that we don't think the idle worker ↵ianb2007-04-261-1/+7
| | | | thread is still around (which caused the *real* worker threads to be culled, leaving only ghost workers who don't actually do any work, and thus the server would freeze)
* Add a better logging message about the thread worker pollingianb2007-04-261-0/+23
|
* Don't register the cleanup until the rest of the threadpool constructor has ↵ianb2007-04-261-3/+2
| | | | successfully run
* Treat missing Content-Length as 0, not unlimitedianb2007-04-251-2/+2
|
* Remove the languageRegEx check, as Kelly Yancey says that RFC 2616 does not ↵ianb2007-04-191-3/+1
| | | | actually require languages to be of that format (per http://kbyanc.blogspot.com/2007/04/more-i-dig-through-code-more-paste-is.html)
* Fix case with continuation headersianb2007-04-171-13/+30
|
* avoid unnecessary ports in URL constructionianb2007-04-171-1/+13
|
* Add information about proxy requestsianb2007-04-151-1/+5
|
* Fix .urlvars to use wsgiorg.routing_argsianb2007-04-151-1/+13
|
* Added a parameter to the threadpool: max_requests, which is the maximum ↵ianb2007-04-121-12/+25
| | | | number of requests to process in a worker thread before killing that thread. This should resolve problems with long-lived threads, as no thread lives too terribly long with this on. Also, turn the threadpool back on by default. And turn LimitedLengthFile back on when it is not an SSL connection
* Fix for #167ianb2007-04-111-1/+1
|
* lowercasing 'UTF-8', as most docs use lowercase encoding namespjenvey2007-04-111-1/+1
|
* Added StackedObjectProxy._object_stack()ianb2007-04-061-0/+10
|
* don't choke if transaction is already rolled backcce2007-04-051-1/+5
|
* Always (re)call start_response when an exception happensianb2007-04-031-15/+7
|
* - commeting out LimitedLengthFilecce2007-03-291-2/+10
| | | | | | | - making threadpool not be the default Once issues with these can be fixed, we could restore LimitedLengthFile and perhaps make threadpool the default
* Fixed logic error where we'd spawn extra workers, then immediately cull ↵ianb2007-03-291-1/+7
| | | | them. Now we wait a little while after spawning workers to cull them
* adding comment about address_string()cce2007-03-271-0/+3
|
* for gzipper, (a) don't test content type if it is blank andcce2007-03-271-2/+2
| | | | (b) be a bit more explicit about the heuristic
* I think one meant min, not max here; if the read function askedcce2007-03-211-1/+2
| | | | | | for 16 bytes, and 64 are available, you should only return 16, not 64. This is important due to MIME types (where sub-chunks are read in via content-length on each sub-item).
* Give a better error when start_response isn't called; give a Content-Length ↵ianb2007-03-201-2/+8
| | | | so that the connection is closed properly on error
* revert accidental commit of a printianb2007-03-171-1/+0
|
* fix some typos, from pythyianb2007-03-172-3/+4
|
* Changed default for kill_thread_limit; reformatianb2007-03-121-10/+11
|
* Don't start workers until everything is initializedianb2007-03-111-2/+2
|
* Major threadpool features to add threads temporarily, kill threads, monitor ↵ianb2007-03-102-40/+519
| | | | the killed threads, and notify the administrator about problems. Also updates to watchthreads to see this new information.
* removing outdated commentcce2007-03-071-2/+1
|
* allow ConfigMiddleware to use a different DispatchingConfigpjenvey2007-03-061-3/+4
|
* Updated the way httpexception response objects are created, in response to ↵ianb2007-03-061-1/+1
| | | | damjam's comment on #156
* Added paste.util.import_string.try_import_moduleianb2007-03-061-0/+42
|
* Make allowed headers settable in paste.fileapp.DataAppianb2007-03-061-3/+9
|
* in template: Added a function that can be used with Paste Script; fixed an ↵ianb2007-03-061-1/+9
| | | | issue when you raise Exception()
* Make paste.util.template trim whitespace around statements on their own lineianb2007-03-061-4/+55
|
* - 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
* minor change to StackedObjectProxy's reprpjenvey2007-02-211-1/+1
|
* Add tracebacks of each thread under Python 2.5 (thanks to Alexander ↵ianb2007-02-211-4/+58
| | | | Schremmer for pointing out the technique)