Dont default to global, breaks in-module threading of send_request_cgi
git-svn-id: file:///home/svn/framework3/trunk@6620 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1e1d8124f0
commit
1c11bbb12d
|
@ -110,15 +110,14 @@ module Exploit::Remote::HttpClient
|
|||
)
|
||||
|
||||
# If this connection is global, persist it
|
||||
# No reason for the socket not to be global and it allows findsock to
|
||||
# work.
|
||||
#if (opts['global'])
|
||||
# Required for findsock on these sockets
|
||||
if (opts['global'])
|
||||
if (self.client)
|
||||
disconnect
|
||||
end
|
||||
|
||||
self.client = nclient
|
||||
#end
|
||||
end
|
||||
|
||||
return nclient
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue