Supervisor/supervisor

Eventlistener protocol "len" header changed in Supervisor 4

Open

#1.243 aberto em 23 de mai. de 2019

Ver no GitHub
 (33 comments) (0 reactions) (0 assignees)Python (1.233 forks)batch import
eventshelp wanted

Métricas do repositório

Stars
 (7.941 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador