lib/httpx/connection/http1.rb in httpx-1.2.3 vs lib/httpx/connection/http1.rb in httpx-1.2.4

- old
+ new

@@ -243,10 +243,10 @@ keep_alive = response.headers["keep-alive"] return unless keep_alive parameters = Hash[keep_alive.split(/ *, */).map do |pair| - pair.split(/ *= */) + pair.split(/ *= */, 2) end] @max_requests = parameters["max"].to_i - 1 if parameters.key?("max") if parameters.key?("timeout") keep_alive_timeout = parameters["timeout"].to_i