pop3: Fixed processing of more than one response when sent in same packet
authorSteve Holme <steve_holme@hotmail.com>
Fri, 20 Dec 2013 07:17:17 +0000 (07:17 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 20 Dec 2013 07:20:49 +0000 (07:20 +0000)
commit045297671100a1361e0fb99f4a71a2cc696382b0
treea498e3ff3403b7d1da34804e0a7cb3e1bece568a
parent94d820b4cbf764b820c8b76e9705b88ab1932656
pop3: Fixed processing of more than one response when sent in same packet

Added a loop to pop3_statemach_act() in which Curl_pp_readresp() is
called until the cache is drained. Without this multiple responses
received in a single packet could result in a hang or delay.
lib/pop3.c