Supervisor/supervisor
在 GitHub 查看Eventlistener protocol "len" header changed in Supervisor 4
Open
#1,243 创建于 2019年5月23日
eventshelp wanted
描述
@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