coderanger / supervisor-stdout

112 stars 57 forks source link

Fix length calculation in protocol #20

Closed nijel closed 4 years ago

nijel commented 4 years ago

The data is read as bytes, to the length in the response needs to be calculated in bytes and not in chars.

Inspired by https://github.com/quay/supervisor-stdout/commit/9bdf630d0d1b4a16cf8b60b96adafb1ed98e7380