Permalink
Commits on Mar 10, 2013
  1. sphinx: Set the html_theme variable explicitly.

    This should let our custom css show on readthedocs.org.
    bdarnell committed Mar 9, 2013
Commits on Oct 4, 2011
  1. Set version number to 2.1.1

    bdarnell committed Oct 4, 2011
  2. Add release notes for 2.1.1

    bdarnell committed Oct 4, 2011
  3. Always advance _next_timeout in PeriodicCallback._schedule_next().

    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.
    bdarnell committed Oct 4, 2011
  4. Merge pull request #372 from WGH-/patch-1

    tornado/iostream.py - long type in read_bytes
    bdarnell committed Oct 4, 2011
  5. Errors from socket.connect() should be treated the same way as async …

    …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.
    bdarnell committed Oct 4, 2011
Commits on Oct 3, 2011
Commits on Sep 22, 2011
  1. Fix a case in which chunked responses could be closed prematurely.

    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
    bdarnell committed Sep 22, 2011
  2. Fix connection-close detection for epoll.

    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.
    bdarnell committed Sep 22, 2011
Commits on Sep 21, 2011
  1. Set version number to 2.1

    bdarnell committed Sep 21, 2011
  2. Move next.rst to v2.1.0.rst

    bdarnell committed Sep 21, 2011
Commits on Sep 19, 2011
  1. Merge pull request #363 from daharon/master

    Make HTTPHeaders.__contains__() case-insensitive, like the rest of the object
    bdarnell committed Sep 19, 2011
Commits on Sep 18, 2011
  1. Fix the IOStream close callback not getting called if there are pendi…

    …ng callbacks.
    
    _maybe_add_error_listener only does anything if _state is None.
    flodiebold committed with bdarnell Sep 4, 2011
Commits on Sep 17, 2011
  1. More release note updates

    bdarnell committed Sep 17, 2011
Commits on Sep 15, 2011
Commits on Sep 12, 2011
  1. Move `TCPServer` to `netutil`, change `handle_stream` callback to ove…

    …rridden method hook, move IP address hack for unix domain sockets to `HTTPConnection`
    alekstorm committed Sep 12, 2011
  2. Merge branch 'branch2.0'

    bdarnell committed Sep 12, 2011
Commits on Sep 11, 2011
Commits on Sep 10, 2011
  1. Merge pull request #356 from alekstorm/files

    Convert dictionaries representing HTTP files to HTTPFile objects
    bdarnell committed Sep 10, 2011
  2. Convert dictionaries representing HTTP files to HTTPFile objects, wit…

    …h dictionary access for attributes retained for backwards compatibility
    alekstorm committed Sep 10, 2011
  3. Move web._O to util.ObjectDict

    alekstorm committed Sep 10, 2011
Commits on Sep 9, 2011
  1. Extract cookie-signing methods from RequestHandler so they can be used

    outside the web stack.
    
    Closes #339.
    bdarnell committed Sep 9, 2011