diff options
-rw-r--r-- | lib/custodian/protocoltest/tcp.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/tcp.rb b/lib/custodian/protocoltest/tcp.rb index b531d41..d44adaa 100644 --- a/lib/custodian/protocoltest/tcp.rb +++ b/lib/custodian/protocoltest/tcp.rb @@ -144,9 +144,8 @@ module Custodian timeout(30) do begin socket = TCPSocket.new( host, port ) - socket.puts( "QUIT") - # read a banner from the remote server + # read a banner from the remote server, if we're supposed to. read = nil read = socket.gets(nil) if ( do_read ) |