fix for tcp server/http server compat
git-svn-id: file:///home/svn/framework3/trunk@4210 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
a8776d85df
commit
d16a368ea2
|
@ -316,7 +316,7 @@ module Exploit::Remote::TcpServer
|
|||
def stop_service
|
||||
if (service)
|
||||
self.service.stop
|
||||
self.service.close
|
||||
self.service.close if self.service.kind_of?(Rex::Socket)
|
||||
self.service = nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue