diff options
author | Neha Pansare <neha.pansare@progress.com> | 2023-05-04 19:45:16 +0530 |
---|---|---|
committer | Neha Pansare <neha.pansare@progress.com> | 2023-05-04 19:45:16 +0530 |
commit | 493a3d614a588526342ddb0fa7751e3740a8cdee (patch) | |
tree | 8c37f5c1b7216a5a08d75b5606532b5bc0de9ffe | |
parent | dec1da7f1d0a7d0b96b8eb7da3afa92ef72b7776 (diff) | |
download | chef-493a3d614a588526342ddb0fa7751e3740a8cdee.tar.gz |
Load monkey patch for net/http in chef-solo mode
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
-rw-r--r-- | lib/chef/monkey_patches/net-http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/monkey_patches/net-http.rb b/lib/chef/monkey_patches/net-http.rb index b1fe937c84..b8a6539e11 100644 --- a/lib/chef/monkey_patches/net-http.rb +++ b/lib/chef/monkey_patches/net-http.rb @@ -5,7 +5,7 @@ require "net/http" # ruby waits for IPv4 request to timeout first, then makes IPv6 request. This increased response time. # NOTE 1: This already reverted https://github.com/ruby/ruby/commit/f88bff770578583a708093f4a0d8b1483a1d2039 but under ruby 3.2.2 # NOTE 2: This patch will not be needed for ruby 3.2.2 - +puts "*************** Loading patch from chef *******************" module Net class HTTP < Protocol def connect |