]> granicus.if.org Git - curl/commit
pop3: Fixed the issue of having to supply the user name for all requests
authorSteve Holme <steve_holme@hotmail.com>
Sat, 2 Jun 2012 21:11:37 +0000 (22:11 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 2 Jun 2012 21:11:37 +0000 (22:11 +0100)
commit69ba0da8272d7bddeef518670d4c1298b0627ad7
treeb1bd8255b0ad173428affdb95ef38303ed60e116
parent1fa2af5136e1167bfc18a128d16a89865ca5065a
pop3: Fixed the issue of having to supply the user name for all requests

Previously it wasn't possible to connect to POP3 and not specify the
user name as a CURLE_ACCESS_DENIED error would be returned. This error
occurred because USER would be sent to the server with a blank user name
if no mailbox user was specified as the server would reply with -ERR.

This wasn't a problem prior to the 7.26.0 release but with the
introduction of custom commands the user and/or application developer
might want to issue a CAPA command without having to log in as a
specific mailbox user.

Additionally this fix won't send the newly introduced AUTH command if no
user name is specified.
RELEASE-NOTES
lib/pop3.c