Supervisor/supervisor
View on GitHubEventlistener protocol "len" header changed in Supervisor 4
Open
#1243 opened on May 23, 2019
eventshelp wanted
Description
@plockaby wrote comments of issue #1235:
Migrating from version 3 to version 4, my event listeners read from supervisor over stdin using a byte stream and then did the conversion to utf8 and chose to "backslashreplace" undecodable utf8 data. When I went to version 4 I expected to continue to get a byte stream that I could convert myself to whatever encoding I knew the data to be in. It was really unexpected to discover that supervisor was doing the conversion for me and then telling me the number of characters to read off of stdin and not the number of bytes.
cc: @vsajip