Disconnect after making the HTTP transaction in send_request_cgi
Add a disconnect call after cgi is done.bug/bundler_fix
parent
0df3e17e0c
commit
9f4784354a
|
@ -366,7 +366,7 @@ module Exploit::Remote::HttpClient
|
||||||
print_line('#' * 20)
|
print_line('#' * 20)
|
||||||
print_line(res.to_s)
|
print_line(res.to_s)
|
||||||
end
|
end
|
||||||
|
disconnect(c)
|
||||||
res
|
res
|
||||||
rescue ::Errno::EPIPE, ::Timeout::Error => e
|
rescue ::Errno::EPIPE, ::Timeout::Error => e
|
||||||
print_line(e.message) if datastore['HttpTrace']
|
print_line(e.message) if datastore['HttpTrace']
|
||||||
|
|
Loading…
Reference in New Issue