imap: Added processing of more than one response when sent in same packet
authorJiri Hruska <jirka@fud.cz>
Wed, 27 Feb 2013 18:49:00 +0000 (19:49 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 27 Feb 2013 20:08:04 +0000 (20:08 +0000)
commitc368fbcb1031198d36d964c649eb7730ee2a5844
treeea076806571dbeae735f12466d7917652acc960e
parentb644c47192fb4c16297149544c5a647d916f7b10
imap: Added processing of more than one response when sent in same packet

Added a loop to imap_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/imap.c