Disconnect after making the HTTP transaction in send_request_cgi

Add a disconnect call after cgi is done.
bug/bundler_fix
Jin Qian 2016-11-23 11:20:10 -06:00
parent 0df3e17e0c
commit 9f4784354a
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ module Exploit::Remote::HttpClient
print_line('#' * 20)
print_line(res.to_s)
end
disconnect(c)
res
rescue ::Errno::EPIPE, ::Timeout::Error => e
print_line(e.message) if datastore['HttpTrace']