Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sanic-org/sanic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.0
Choose a base ref
...
head repository: sanic-org/sanic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.8.1
Choose a head ref
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on Aug 19, 2018

  1. Pausable response streams (#1179)

    * This commit adds handlers for the asyncio/uvloop protocol callbacks for pause_writing and resume_writing.
    These are needed for the correct functioning of built-in tcp flow-control provided by uvloop and asyncio.
    This is somewhat of a breaking change, because the `write` function in user streaming callbacks now must be `await`ed.
    This is necessary because it is possible now that the http protocol may be paused, and any calls to write may need to wait on an async event to be called to become unpaused.
    
    Updated examples and tests to reflect this change.
    
    This change does not apply to websocket connections. A change to websocket connections may be required to match this change.
    
    * Fix a couple of PEP8 errors caused by previous rebase.
    
    * update docs
    
    add await syntax to response.write in response-streaming docs.
    
    * remove commented out code from a test file
    ashleysommer authored and r0fls committed Aug 19, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    bigdaz Daz DeBoer
    Copy the full SHA
    30e6a31 View commit details

Commits on Sep 6, 2018

  1. Copy the full SHA
    9082eb5 View commit details
Loading