Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Use a producer to stream back responses #3701

Merged
merged 3 commits into from
Aug 17, 2018

Commits on Aug 15, 2018

  1. Use a producer to stream back responses

    The problem with dumping all of the json response into the Request object at
    once is that doing so starts the timeout for the next request to be received:
    so if it takes longer than 60s to stream back the response to the client, the
    client never gets it.
    
    The correct solution is to use a Producer; then the timeout is only started
    once all of the content is sent over the TCP connection.
    richvdh committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    afcd655 View commit details
    Browse the repository at this point in the history
  2. Fix the tests

    hawkowl authored and richvdh committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a87af25 View commit details
    Browse the repository at this point in the history
  3. changelog

    richvdh committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    d82fa0e View commit details
    Browse the repository at this point in the history