watch out for an already closed socket in connect (meterpreter session, etc)
git-svn-id: file:///home/svn/framework3/trunk@6161 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
17f4396d1d
commit
a595def093
|
@ -333,7 +333,7 @@ class Core
|
|||
n2c.kill
|
||||
end
|
||||
|
||||
sock.close
|
||||
sock.close if not sock.closed?
|
||||
infile.close if infile
|
||||
|
||||
true
|
||||
|
|
Loading…
Reference in New Issue