Skip to content

Ensure that net-protocol version matches the monkey patch

darix requested to merge darix/gitlab:darix/properly-lock-net-http into master

What does this MR do and why?

The monkey patching for the Net::HTTPResponse object only works with the net-protocol < 0.2 versions 0.2.0 added new optimizations which would require the monkey patch also to handle the rbuf_index variable. Until this is done we should lock the version to what is actually supported by the monkey patch.

This might be worth pulling into @stanhu 15.9.0.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by darix

Merge request reports