Permalink
Commits on Jul 17, 2011
Commits on Jul 15, 2011
  1. Removed run() method.

    ovidiucp committed Jul 15, 2011
Commits on Jul 14, 2011
  1. New test to check that addWriter followed by removeWriter properly re…

    ovidiucp committed Jul 14, 2011
    …moves the writer from IOLoop.
  2. Moved twisted/reactor.py to platform/twistedreactor.py.

    ovidiucp committed Jul 14, 2011
    twistedreactor.py:
      - cleaned up logging
      - don't try to crash if stop has been called (uses _running to check it)
      - don't add reader and writers if they've already been added
      - use a NullContext when calling add_handler
      - call IOLoop.close() to properly close file descriptors
      - implement run() and instruct the reactor to not install signal handlers.
    
    import_test.py:
      - import twistedreactor too
    
    twistedreactor_test.py:
      - do conditional includes based on twisted
      - remove superfluous logging
      - don't use assertGreater
      - use threading instead of the thread module. Join threads at the end of test.
      - properly close the file descriptor in Reader/Writer's connectionLost().
      - make use of tornado.platform.auto's set_close_exec.
      - write only one in the pipe, and check for that.
  3. Fix misspelling.

    ovidiucp committed Jul 14, 2011
Commits on Jul 12, 2011
  1. Don't use defaults in reactor.py as they cause unneeded initializations.

    ovidiucp committed Jul 12, 2011
    Fix the unittest to not initialize IOLoop's global instance.
  2. Updated to not depend on IOLoop's _set_nonblocking and _set_close_exe…

    ovidiucp committed Jul 12, 2011
    …c, which were moved to a separate file.
  3. Better error message

    bdarnell committed Jul 12, 2011
Commits on Jul 11, 2011
  1. Doc and release note updates.

    bdarnell committed Jul 11, 2011
Commits on Jul 10, 2011
  1. Support multi-line headers

    bdarnell committed Jul 10, 2011
    Closes #9.
  2. Properly quote and unquote cookie values.

    bdarnell committed Jul 10, 2011
    Closes #36.
  3. allow_nonstandard_methods now also skips the check that only POST and

    bdarnell committed Jul 10, 2011
    PUT requests have bodies
Commits on Jul 9, 2011
Commits on Jul 8, 2011
  1. Add basic unix socket support.

    bdarnell committed Jul 8, 2011
    tornado.netutil.bind_unix_socket can create non-blocking listening unix
    sockets, and HTTPServer can use them.  (no client-side support for this yet)
    This is useful e.g. with nginx proxying incoming TCP traffic to
    a backend over a unix socket (which may be easier to manage than a set of
    TCP ports)
Commits on Jul 7, 2011
  1. Better benchmark script

    bdarnell committed Jul 6, 2011
  2. Merge pull request #297 from funtoo/patch-1

    bdarnell committed Jul 7, 2011
    Install platform files too.
Commits on Jul 6, 2011
  1. Add a fast path for IOStream writes in addition to reads.

    bdarnell committed Jul 6, 2011
    This is a significant speedup for small requests, since it is now
    possible to do a request and (synchronous) response without calling
    IOLoop.add_handler.
  2. Don't add an event handler for IOStream until we've done a read or wr…

    bdarnell committed Jul 6, 2011
    …ite.
    
    This speeds things up a bit by avoiding a system call to add a handler
    for errors that is just replaced by the first read or write.
Commits on Jul 5, 2011