Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 6, 2011
  1. JSON encode/decode: Allow keyword attributes for dumps/loads

    authored
    Python's json module and simplejson allow some keyword arguments to be
    set (e.g., indentation, or default encoding handlers). Extending
    the compatibility wrappers for these arguments to be passed on.
  2. JSON encode/decode: Allow keyword attributes for dumps/loads

    authored
    Python's json module and simplejson allow some keyword arguments to be
    set (e.g., indentation, or default encoding handlers). Extending
    the compatibility wrappers for these arguments to be passed on.
Commits on Oct 12, 2011
  1. merge branch2.1

    authored
Commits on Oct 4, 2011
  1. Ben Darnell

    Set version number to 2.1.1

    bdarnell authored
  2. Ben Darnell

    Add release notes for 2.1.1

    bdarnell authored
  3. Ben Darnell

    Always advance _next_timeout in PeriodicCallback._schedule_next().

    bdarnell authored
    On fast machines (and platforms where time.time() has low resolution),
    it's possible to make it through an IOLoop iteration with time.time()
    unchanged, which would cause the callback to be run multiple times
    regardless of the requested interval.
    
    Closes #366.
  4. Ben Darnell

    Merge pull request #372 from WGH-/patch-1

    bdarnell authored
    tornado/iostream.py - long type in read_bytes
  5. Ben Darnell

    Errors from socket.connect() should be treated the same way as async …

    bdarnell authored
    …failures.
    
    On freebsd non-blocking connect() may return certain errors (such as
    ECONNREFUSED from localhost) immediately instead of returning EINPROGRESS
    and then giving the error later.
    
    Also improve the test for ipv6 compatibility, since freebsd returns a different
    error than other platforms when ipv6 is not available.
Commits on Oct 3, 2011
  1. WGH-
Commits on Sep 22, 2011
  1. Ben Darnell

    Fix a case in which chunked responses could be closed prematurely.

    bdarnell authored
    The bug manifests with certain patterns of fast-path/slow-path writes
    on the IOStream, so it's difficult to test (it was more likely to occur in
    2.0 than in 2.1).
    
    http://groups.google.com/group/python-tornado/browse_thread/thread/7228881f7af38070
  2. Ben Darnell

    Fix connection-close detection for epoll.

    bdarnell authored
    Previously, closed connections with epoll sent an IOLoop.ERROR event
    while there was still data in the OS's socket buffers.  Event handlers
    that did not drain the entire socket buffer before processing the
    close event would lose data. (this was primarily an issue for
    SimpleAsyncHTTPClient)
    
    IOLoop.ERROR no longer includes EPOLLRDHUP (which is only supposed to be
    used in edge-triggered mode: https://lkml.org/lkml/2003/7/12/132), so closed
    connections while reading are signaled as zero-byte reads once the buffer
    is drained (this was already the behavior of the select-based IOLoop).
    Closed connections while writing are still signaled with EPOLLHUP.
    
    Backwards-compatibility note:  Listening for IOLoop.ERROR alone is no longer
    sufficient for detecting closed connections on an otherwise unused socket.
    IOLoop.ERROR must always be used in combination with READ or WRITE.
  3. Ben Darnell
Commits on Sep 21, 2011
  1. Ben Darnell

    Set version number to 2.1

    bdarnell authored
  2. Ben Darnell

    Move next.rst to v2.1.0.rst

    bdarnell authored
Commits on Sep 19, 2011
  1. Ben Darnell

    Merge pull request #363 from daharon/master

    bdarnell authored
    Make HTTPHeaders.__contains__() case-insensitive, like the rest of the object
  2. Daniel Aharon
Commits on Sep 18, 2011
  1. Ben Darnell
  2. Florian Diebold Ben Darnell

    Fix the handling of messages of length 126 in the draft-10 Websocket …

    flodiebold authored bdarnell committed
    …implementation.
  3. Florian Diebold Ben Darnell

    Fix the IOStream close callback not getting called if there are pendi…

    flodiebold authored bdarnell committed
    …ng callbacks.
    
    _maybe_add_error_listener only does anything if _state is None.
  4. Ben Darnell
Commits on Sep 17, 2011
  1. Ben Darnell

    More release note updates

    bdarnell authored
Commits on Sep 15, 2011
  1. Ben Darnell
  2. Ben Darnell
  3. Ben Darnell
Commits on Sep 12, 2011
  1. Ben Darnell
  2. Ben Darnell
  3. Alek Storm

    Move `TCPServer` to `netutil`, change `handle_stream` callback to ove…

    alekstorm authored
    …rridden method hook, move IP address hack for unix domain sockets to `HTTPConnection`
  4. Ben Darnell

    Merge branch 'branch2.0'

    bdarnell authored
Commits on Sep 11, 2011
  1. Ben Darnell
  2. Ben Darnell
Commits on Sep 10, 2011
  1. Ben Darnell

    Merge pull request #356 from alekstorm/files

    bdarnell authored
    Convert dictionaries representing HTTP files to HTTPFile objects
  2. Alek Storm

    Convert dictionaries representing HTTP files to HTTPFile objects, wit…

    alekstorm authored
    …h dictionary access for attributes retained for backwards compatibility
  3. Alek Storm
  4. Ben Darnell
Something went wrong with that request. Please try again.