Eric Wong <[email protected]> wrote: > Patch 2/3 could use an extra set of eyes since it's fairly big, > but passes all tests.
Any comments? Anybody still on Ruby <= 2.4? > + filter_body(once = '', @socket.readpartial(@@io_chunk_size, @buf)) > +++ b/lib/unicorn/http_request.rb > @@ -61,7 +61,7 @@ def self.check_client_connection=(bool) > # returns an environment hash suitable for Rack if successful > # This does minimal exception trapping and it is up to the caller > # to handle any socket errors (e.g. user aborted upload). > - def read(socket) > + def read_headers(socket, ai) O_O OMG we haz AI now! Think of the marketing potential! Disclaimer: I have never and will never use any form of intelligence (artificial or otherwise) in writing unicorn.
