summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-27 06:08:14 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-27 06:08:14 +0000
commitd5b859323e3225fb74c1db821b1a41e5c95c9ef2 (patch)
treea5a612b907bde642570f21f0fc1ed3c56ef38a5f
parent69f3f5f67ab1efcf514627786913d2ca43a0989d (diff)
downloadruby-d5b859323e3225fb74c1db821b1a41e5c95c9ef2.tar.gz
ruby-d5b859323e3225fb74c1db821b1a41e5c95c9ef2.tar.xz
ruby-d5b859323e3225fb74c1db821b1a41e5c95c9ef2.zip
* lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 response. [ruby-list:38279]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/smtp.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fa358a5d3..d8262a372 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Aug 27 15:07:57 2003 Minero Aoki <aamine@loveruby.net>
+
+ * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334
+ response. [ruby-list:38279]
+
Wed Aug 27 05:10:15 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (map_errno): support winsock error.
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index 85d2452c5..d2de78239 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -601,7 +601,7 @@ module Net # :nodoc:
def check_response( res, allow_continue = false )
return res if /\A2/ === res
- return res if allow_continue and /\A354/ === res
+ return res if allow_continue and /\A3/ === res
err = case res
when /\A4/ then SMTPServerBusy
when /\A50/ then SMTPSyntaxError