-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
wait_for_first_flush
configurable in streaming responses
This is related to #65. I managed to get websockets working using Conduit in order to gain access to the file descriptors. However, because streaming responses wait for the first write to flush response bodies, I could never deliver the connection upgrade with 1. an empty response body and 2. while not closing the writer. Making `wait_for_first_flush` configurable (which I see was already in the roadmap) solves this problem. I've tested this in my code and it's working really well now. Please let me know if you had thought of another way of configuring this behavior.
- Loading branch information
Antonio Nuno Monteiro
committed
Aug 10, 2018
1 parent
743f19d
commit a3a6897
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters