diff options
Diffstat (limited to 'lib/plum/client.rb')
-rw-r--r-- | lib/plum/client.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plum/client.rb b/lib/plum/client.rb index 020b372..6c3b16d 100644 --- a/lib/plum/client.rb +++ b/lib/plum/client.rb @@ -30,6 +30,7 @@ module Plum if host.is_a?(IO) @socket = host else + @socket = nil @host = host @port = port || (config[:scheme] == "https" ? 443 : 80) end |