open-nomad/helper/escapingio
Mahmood Ali 4013847ada escapingio: handle stalled readers
Handle stalled readers (e.g. network write got stalled), by having
escaping io have a buffer so it looks for escaped characters in the
stream.

This simplifies the implementation considerably, as we can look
for new lines followed by escaped characters directly.

Also, we add a test to ensure that any partial results are flushed to
readers.
2019-05-17 11:58:31 -04:00
..
reader.go escapingio: handle stalled readers 2019-05-17 11:58:31 -04:00
reader_test.go escapingio: handle stalled readers 2019-05-17 11:58:31 -04:00