Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 20, 2010
Commits on Jun 18, 2010
  1. Close wsgi responses correctly - the close method, if present, will

    Ben Darnell authored
    be on the result of self.wsgi_application() and not on the list
    of output we're building up.
Commits on Jun 10, 2010
  1. In the libcurl file descriptor limit hack, log to both stderr and

    Ben Darnell authored
    logging.error since they may got to different places and one may be
    more visible than the other.
Commits on Jun 8, 2010
Commits on Jun 7, 2010
  1. Fix missing import

    Ben Darnell authored
Commits on May 31, 2010
  1. Optionally allow nonstandard http methods to be used in httpclient.

    Ben Darnell authored
    By default we check that the method is one of the standard ones (and
    is capitalized correctly), but this can be overridden to work with a
    server that has implemented nonstandard methods (e.g. CouchDB)
    
    http://github.com/facebook/tornado/issues/issue/90
  2. Changed it so one can access the StringIO buffer

    Mike Lewis authored Ben Darnell committed
    This allows for people to use the file-like object
    that already exists without having to convert the body
    back to the StringIO
  3. Clear the close_callback set on the IOStream by RequestHandlers in

    Ben Darnell authored
    finish(), so that the close_callback does not prevent garbage collection
    of the handlers.
    
    http://github.com/facebook/tornado/issues/issue/95/
  4. Close the socket on uncaught exceptions from iostream handlers.

    Ben Darnell authored
    This prevents a possible denial of service if erroneous requests are
    made faster than garbage collection can reclaim socket file
    descriptors.
    
    http://groups.google.com/group/python-tornado/browse_frm/thread/7a5d61e6ba0c71b8/8af41b48ac02cc6c
  5. Improve parsing of multipart/form-data headers.

    Ben Darnell authored
    This change was motivated by google app engine's xmpp support,
    which uses different spacing in the header than other common clients
    and quotes its boundary string.
    
    Based on changes by jehiah:
    http://github.com/jehiah/tornado/commit/18cb45ca73859fa81883bd10c9cd8e051865096a
    http://github.com/jehiah/tornado/commit/9d67963466878550368b932746bb4a244a593905
Commits on May 29, 2010
  1. Update documentation for WebSocketHandler

    Ben Darnell authored
  2. Revert "websockets: continue listening for messages after parsing com…

    Ben Darnell authored
    …pletion"
    
    This reverts commit 9ea5f8a.
    
    The one-shot behavior of receive_message was intentional, and simply
    requeuing the old callback every time will eventually overflow the
    stack due to repeated async_callback wrappers.  An alternate interface
    that doesn't require receive_message to be called for every message
    may be added in a future change.
    
    See discussion at
    http://github.com/facebook/tornado/commit/9ea5f8a277db96557ae7867375c7db4d8c5f633a
Commits on May 25, 2010
  1. Add a hacky workaround for libcurl's FD_SETSIZE bug. It's ugly,

    Ben Darnell authored
    but better than undefined behavior.
Commits on May 20, 2010
Commits on May 17, 2010
  1. Use a lambda instead of functools.partial for pycurl.HEADERFUNCTION.

    Ben Darnell authored
    Older versions of pycurl (including 7.16.2.1, which is the recommended
    version for Mac OS X 10.5) only work with real functions, not objects
    with a __call__ method like functools.partial.
    
    Remove exception-swallowing - curl versions that predate HEADERFUNCTION
    are no longer supported.
Commits on May 10, 2010
  1. Merge remote branch 'dlo/master'

    Ben Darnell authored
  2. Translate </ to <\/ in json output to avoid issues with the string

    Ben Darnell authored
    "</script>".
  3. Support additional keyword arguments on cookies (to be handled by the

    Ben Darnell authored
    underlying stdlib Cookie module)
Commits on May 4, 2010
  1. Dan Loewenherz

    websockets: continue listening for messages after parsing completion

    dlo authored
    The prior implementation stops listening for messages after the first
    message is received.
Commits on May 1, 2010
  1. Allow for missing "expires" field in facebook session, which can

    Ben Darnell authored
    happen if offline_access is granted.
Commits on Apr 29, 2010
  1. Jon Parise
Commits on Apr 26, 2010
  1. Evan Klitzke Casey Muller
Commits on Apr 25, 2010
  1. Joseph Bowman

    Updating base Twitter url

    joerussbowman authored Ben Darnell committed
Commits on Apr 22, 2010
  1. Clear itimer signals in autoreload so the combination of autoreload

    Ben Darnell authored
    and ioloop.set_blocking_log_threshold doesn't cause the new process
    to get killed.
Commits on Apr 21, 2010
  1. cStringIO's constructor uses a 16-bit encoding when given a unicode

    Ben Darnell authored
    string.  This is inconsistent with its write method, which encodes all
    strings as ascii (and rejects unicode strings iff they have any
    non-ascii characters).  This change uses utf-8 as the default encoding
    when constructing cStringIO objects in tornado.
  2. Add an option to log a stack trace any time the ioloop is blocked for

    Ben Darnell authored
    more than a specified amount of time.
Commits on Apr 20, 2010
  1. Send all logging to the root logger instead of per-module loggers.

    Ben Darnell authored
    This undoes the effect of
    http://github.com/facebook/tornado/commit/e391fd289ed085671344504cc5b1fa84f5a3c774
    
    Per-module loggers are problematic because only the top-level convenience
    logging.{error,warning,...} functions configure logging on-demand, so
    an app that only uses per-module loggers will produce no output except
    "no handlers found for logger X".  Since tornado.ioloop swallows and logs
    all exceptions, this makes it too hard to tell what's going on for apps
    that do not configure logging explicitly.
    
    Instead of setting log levels on individual module's loggers,
    logging.Handler.addFilter can be used with a filter that examines
    the module attribute of the log record.
Commits on Apr 19, 2010
  1. Better HTTP header parsing: Allow (and strip) any amount of leading

    Ben Darnell authored
    and trailing whitespace around header values instead of just a single
    space.  Such whitespace is legal but appears to be uncommon (and nginx
    apparently normalizes everything to a single space)
    http://tools.ietf.org/html/rfc2616#page-31
  2. Add a closed flag to AsyncHTTPClient so that a scheduled perform call…

    Ben Darnell authored
    …back
    
    won't cause an exception after the client is closed.
Commits on Apr 12, 2010
  1. Use the original request's protocol as the openid realm instead of ha…

    Ben Darnell authored
    …rd-coding
    
    http.
Something went wrong with that request. Please try again.