]> granicus.if.org Git - curl/commit
smtp: Fixed processing of more than one response when sent in same packet
authorSteve Holme <steve_holme@hotmail.com>
Fri, 15 Nov 2013 10:54:47 +0000 (10:54 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 15 Nov 2013 10:54:23 +0000 (10:54 +0000)
commit796333bc5eb34d53843a1da1c173d62e186b5fdb
tree5073d0da5ed97b0c49992d4c2e76aec506d1a794
parentf16c0de4e9bbe39089f338b63da93d17e08cb4a1
smtp: Fixed processing of more than one response when sent in same packet

Added a loop to smtp_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/smtp.c