Commits

Author Commit Message Labels Comments Date
Robert Brewer
Fix for #540.
Branches
cherrypy
Robert Brewer
Fixes for #544 and #545 (serveFile issues) in CP 3. Fixes in CP 2 branch coming in a separate changeset.
Branches
cherrypy
Robert Brewer
If not cacheable, we shouldn't even set Expires.
Branches
cherrypy
Robert Brewer
Test and fix for bug in expires tool.
Branches
cherrypy
Robert Brewer
Oops. Forgot a file.
Branches
cherrypy
Robert Brewer
Py 2.3 doesn't do multiline imports.
Branches
cherrypy
Robert Brewer
Merged the reexec branch. Autoreload now uses exec instead of spawn, and therefore never runs more than one process at a time. There's a new test for autoreload in test_states.py.
Branches
cherrypy
Robert Brewer
More work on tools.expires:
Branches
cherrypy
Christian Wyglendowski
1. New "expires" tool for setting the "Expires" header.
Branches
cherrypy
Robert Brewer
Various speedups, the only notable one being that environments are now always flattened as soon as possible.
Branches
cherrypy
Robert Brewer
Moved RFC 2047 encoding into http.HeaderMap. Changed HeaderMap.sorted_list to HeaderMap.output (which does not sort).
Branches
cherrypy
Robert Brewer
Precompile some regexes for a speed boost.
Branches
cherrypy
Robert Brewer
Caching tool invocation optimization.
Branches
cherrypy
Robert Brewer
If we assume all incoming request header names are uppercase, we get a big speedup. If anyone ever complains about this, it's easy enough to revert.
Branches
cherrypy
Robert Brewer
Some tool optimizations.
Branches
cherrypy
Robert Brewer
Optimized {{{_cpwsgi.translate_headers}}}.
Branches
cherrypy
Robert Brewer
New ProfileAggregator class.
Branches
cherrypy
Robert Brewer
Moved profiling into WSGI middleware.
Branches
cherrypy
Robert Brewer
Reverting [1165], [1182]. Turns out it wasn't necessary for encoded request headers, and only served to slow CP by about 5%.
Branches
cherrypy
Robert Brewer
benchmark still needed socket-error suppression.
Branches
cherrypy
Robert Brewer
Oops. Forgot to make default Tidy tools.
Branches
cherrypy
Robert Brewer
Fixed memory-leak bug when expiring cache objects.
Branches
cherrypy
Robert Brewer
New _cpwsgi.make_app function for creating isolated WSGI application callables. You should only need to use it if two WSGI apps share the same script_name, or if you use a WSGI tool which expects a separate callable for each app.
Branches
cherrypy
Robert Brewer
Fix for #538 (Caching must set Age response header). Also fixed a bad bug from using header_list instead of headers.
Branches
cherrypy
Robert Brewer
webtest.WebCase.assetHeader now returns the header value if found.
Branches
cherrypy
Robert Brewer
caching: Turned MemoryCache.expirationQueue into "expirations", a dict. This solves some corner cases where a queued object with a long delay would prevent queued objects of shorter delays from expiring on time. It also removes the (variable-period) sleep call buried in Queue, and now uses a single 0.1 sec poll rate.
Branches
cherrypy
Robert Brewer
Speedup of cache tool by caching the object only, not expirationTime or lastModified.
Branches
cherrypy
Robert Brewer
Cleanup of cherrypy and cherrypy.config namespaces. Changed 'log_config_options' to 'log_config'. Moved cherrypy.set_config to cherrypy.config.wrap.
Branches
cherrypy
Robert Brewer
Fix for missing FeedParser in Python 2.3.
Branches
cherrypy
Robert Brewer
Oops. Fix for the session time fix.
Branches
cherrypy
  1. Prev
  2. Next