-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in StreamTransformer - ending fragment not getting sent (#2317)
* Fix bug in StreamTransformer - ending fragment not getting sent * Add test to verify fix Before: ``` > ChunkedStream / StreamTransformer 758 OK: output.moveString(s) OUTPUT: 65 0d 0a 53 6f 6d 65 20 74 65 73 74 20 64 61 74 e..Some test dat 61 0d 0a a.. 792 FAIL: FS_OUTPUT == s FAIL in `virtual void StreamTest::execute()` ``` After: ``` >> ChunkedStream / StreamTransformer 741 OK: output.moveString(s) OUTPUT: 65 0d 0a 53 6f 6d 65 20 74 65 73 74 20 64 61 74 e..Some test dat 61 0d 0a 30 0d 0a 0d 0a a..0.... 760 OK: FS_OUTPUT == s ```
- Loading branch information
Showing
3 changed files
with
19 additions
and
3 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
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