You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found edge case where making http request to one of the remote servers can raise Zlib::BufError.The case is about blank body returned by a server for 204 No Content together with header Content-Encoding: gzip .
Can be reproduced this way:
require'socket'server=TCPServer.new8000loopdoclient=server.acceptclient.puts<<-EOTHTTP/1.1 204 No ContentContent-Encoding: gzipContent-Type: application/json;charset=utf-8EOTclient.closeend