Skip to content

Commit

Permalink
Fix missed SwitchOnFirst drain and inner stream cancel (#2076)
Browse files Browse the repository at this point in the history
This commit fixes missed cases where a drain is necessary.
It also adds Inner stream erroring if it appeared after the
parent cancellation happened (to make sure disconnected inner
stream will not be hanged for forever).
It includes refactoring to reduce code duplication.

Reviewed-in: #2076
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
  • Loading branch information
OlegDokuka committed Mar 18, 2020
1 parent ce58185 commit a98d6fa
Show file tree
Hide file tree
Showing 2 changed files with 393 additions and 220 deletions.

0 comments on commit a98d6fa

Please sign in to comment.