tornado/tornado
Ben Darnell 0c238d6fcf Read static files in 64-KB chunks.
Based on #526, but updated for the new interfaces in StaticFileHandler.

Unlike #526, this change does not actually wait for each chunk to be
flushed before reading the next one.  Flushing raises some additional
complications (wsgi compatibility, chunked encoding vs content-length)
that are probably not worthwhile for the intended use of StaticFileHandler.
Reading in chunks has benefits even if we don't wait for the flush
(i.e. memory fragmentation), and this change establishes the necessary
subclass interfaces so we can add flushing in the future.
2013-05-19 14:56:04 -04:00
..
platform Add/update docs for twisted, caresresolver, and util modules 2013-03-16 18:52:07 -04:00
test Add start and end parameters to get_content() instead of reading everything. 2013-05-19 13:57:31 -04:00
__init__.py Bump version number in the master branch 2013-04-12 10:15:21 -04:00
auth.py Always send oauth_version=1.0, even when using 1.0a. 2013-04-14 15:31:50 -04:00
autoreload.py Fix dangling references in recently-revised docs. 2013-03-15 23:14:48 -04:00
ca-certificates.crt Update ca-certs file to remove Diginotar 2011-09-15 11:22:22 -07:00
concurrent.py Add a close method to Resolver and use it where necessary. 2013-05-15 22:47:35 -04:00
curl_httpclient.py Add PATCH and OPTIONS support by default to curl_httpclient. 2013-05-18 16:34:52 -04:00
escape.py Add a 'plus' argument to url_{un,}escape, defaulting to True. 2013-05-12 15:48:52 -04:00
gen.py Merge branch 'branch3.0' 2013-05-17 00:08:33 -04:00
httpclient.py Merge pull request #780 from keakon/patch-1 2013-05-07 21:31:46 -07:00
httpserver.py Add an interface to set the TCP_NODELAY flag on an IOStream. 2013-05-04 21:55:08 -04:00
httputil.py Add start and end parameters to get_content() instead of reading everything. 2013-05-19 13:57:31 -04:00
ioloop.py Clean up cancelled timeout handles when the queue gets full of them. 2013-05-12 23:32:24 -04:00
iostream.py Add a missing stack_context.wrap in SSLIOStream.connect. 2013-05-15 21:44:34 -04:00
locale.py Fix locale.format_date on python 3. 2013-04-28 18:40:31 -04:00
log.py Escape non-ascii bytes in tracebacks line-by-line instead of all at once. 2013-02-09 13:00:11 -05:00
netutil.py Add a close method to Resolver and use it where necessary. 2013-05-15 22:47:35 -04:00
options.py comparison to None should be 'if cond is not None' 2013-05-16 11:06:41 +02:00
process.py Doc updates, modules N-T. 2013-03-16 13:13:58 -04:00
simple_httpclient.py Add a close method to Resolver and use it where necessary. 2013-05-15 22:47:35 -04:00
stack_context.py Add a run_with_stack_context function to more easily use stack contexts in coroutines. 2013-05-12 13:17:20 -04:00
tcpserver.py Merge pull request #748 from wsantos/fix732 2013-05-12 13:36:56 -07:00
template.py Remove redundant call to find_named_blocks in template processing. 2013-05-18 16:03:45 -04:00
testing.py change bind_unused_port to pass None as port 2013-05-07 18:00:23 -03:00
util.py Fix the import_object ImportError on Python 3. 2013-04-14 16:07:40 -04:00
web.py Read static files in 64-KB chunks. 2013-05-19 14:56:04 -04:00
websocket.py Add a close method to Resolver and use it where necessary. 2013-05-15 22:47:35 -04:00
wsgi.py Use plus=False when constructing and decoding url paths. 2013-05-12 16:12:27 -04:00