Permalink
Commits on May 20, 2018
  1. Merge pull request #2397 from bdarnell/password-encoding

    bdarnell committed May 20, 2018
    httpclient: Support non-ascii characters in usernames and passwords
  2. httpclient: Improve non-ascii characters in HTTP auth

    bdarnell committed May 20, 2018
    - Use NFC as required by the spec
    - Fix string-concat exceptions on py2
    - Test both curl and simple http clients for basic auth
    - Do the same for proxy auth in curl
  3. Merge pull request #2395 from bdarnell/deflake

    bdarnell committed May 20, 2018
    asyncio: Fix a race between close and initialize
  4. asyncio: Fix a race between close and initialize

    bdarnell committed May 20, 2018
    The close method of one IOLoop could race with the initialize method
    of another one, leading to KeyErrors raised in close().
    
    Fixes #2367
  5. test: Fix ResolveTimeoutTestCase

    bdarnell committed May 20, 2018
    The dummy resolver used here was not correctly adapted for changes in
    netutil, and as a result the test was incorrect (it checked for
    TypeError instead of a timeout) and flaky (occasionally it would get a
    timeout error anyway).
  6. Merge pull request #2393 from bdarnell/autoreload-wrapper

    bdarnell committed May 20, 2018
    autoreload: Preserve wrapper with internal reload
  7. autoreload: Improve autoreload wrapper on windows

    bdarnell committed May 20, 2018
    On platforms without execv(), we must spawn a separate subprocess.
    This breaks down when an internal autoreload is firing in a wrapped
    process, since the internal reload raises an exception with the
    wrapper catches (triggering a second reload and another copy of the
    process).
  8. autoreload: Fix wrapper preservation for Python 3

    bdarnell committed May 19, 2018
    The `spec` branch needs special handling too. Update the test to
    correctly test the desired situation (and simplify by removing the
    separate toucher process).
  9. Merge pull request #2394 from bdarnell/finish-return-future

    bdarnell committed May 20, 2018
    web: finish() and render() now return Futures
  10. Merge pull request #2392 from bdarnell/enoprotoopt

    bdarnell committed May 20, 2018
    iostream,netutil: Ignore ENOPROTOOPT errors from SO_REUSEADDR or SO_ERROR
  11. web: Also return a Future from render()

    bdarnell committed May 20, 2018
    Improve tests.
Commits on May 19, 2018
  1. remove redundant code

    Lancher authored and bdarnell committed Jan 22, 2018
  2. fix autoreload argv perservation

    Lancher authored and bdarnell committed Dec 19, 2017
  3. iostream,netutil: PR feedback from #2353

    bdarnell committed May 18, 2018
    - Don't swallow errors from SO_REUSEPORT since it's opt-in.
    - Use errno_from_exception.
    - Add comments
  4. Ignore ENOPROTOOPT errors from SO_REUSEADDR or SO_ERROR

    onovy authored and bdarnell committed Apr 11, 2018
    Some systems, for example Hurd doesn't support SO_REUSEADDR.
  5. Merge pull request #2391 from bdarnell/websocket-decompress-limit

    bdarnell committed May 19, 2018
    websocket: Limit post-decompression size of received messages
  6. websocket: Limit post-decompression size of received messages

    bdarnell committed May 19, 2018
    Protects against memory exhaustion DoS attacks.
Commits on May 18, 2018
  1. Merge pull request #2390 from bdarnell/lint

    bdarnell committed May 18, 2018
    Fix lint checks
  2. Fix lint checks

    bdarnell committed May 18, 2018
    This was being run from the wrong directory in CI so some errors had
    slipped in.
  3. Merge pull request #2389 from peacetara/peacetara-patch-1

    bdarnell committed May 18, 2018
    add expires docs to set_cookie.
Commits on May 17, 2018
  1. add expires docs to set_cookie.

    peacetara committed May 17, 2018
    update set_cookie docstring to explain what expires will accept and behave properly, without having to go track down httputil.format_timestamp, which is not exposed in the docs(that I could find).
Commits on May 13, 2018
  1. Merge pull request #2386 from bdarnell/demos

    bdarnell committed May 13, 2018
    demos: Update demos to modern interfaces
  2. demos: Update webspider demo to python 3

    bdarnell committed May 13, 2018
  3. demos: Update blog demo

    bdarnell committed May 12, 2018
    - Switch from MySQL to PostgreSQL/CockroachDB.
    - Use (and require) Python 3.5+.
    - Use aiopg instead of torndb.
Commits on May 12, 2018
  1. Merge pull request #2385 from bdarnell/websocket

    bdarnell committed May 12, 2018
    websocket: Subprotocols and open coroutines
  2. websocket: Allow open to be a coroutine

    bdarnell committed May 12, 2018
    Fixes #2358
  3. websocket: Improve subprotocol support

    bdarnell committed May 12, 2018
    - Add client-side subprotocol option
    - Add selected_subprotocol attribute to client and server objects
    - Call select_subprotocol exactly once instead of only on non-empty
    - Fix bug in previous select_subprotocol change when multiple
      subprotocols are offered
    - Add tests
    
    Updates #2281
Commits on May 6, 2018
  1. Merge pull request #2378 from bdarnell/docs-510

    bdarnell committed May 6, 2018
    docs: Start release notes for 5.1
  2. concurrent: Fully deprecate return_future

    bdarnell committed May 6, 2018
    It relies on ExceptionStackContext, so it should go away completely
    instead of just losing its callback argument.