aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/http.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-06 12:26:25 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-02-06 12:26:25 +0000
commit5113e8923cd08f3f5e877c2153c0f44597f16402 (patch)
tree8e56f6e6122e33f14306fc27bd7ed9f4389b4f7e /lib/net/http.rb
parentcdc7602379c9d911983db2c044d69ac417869266 (diff)
downloadruby-5113e8923cd08f3f5e877c2153c0f44597f16402.tar.gz
aamine
* lib/net/http.rb: call on_connect() on re-opening socket. * lib/net/pop.rb: also POP3 can use APOP auth. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 8410497437..2b18a8e930 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -425,6 +425,7 @@ module Net
req['connection'] = 'close'
elsif @socket.closed? then
@socket.reopen
+ on_connect
end
if @seems_1_0_server then
req['connection'] = 'close'