Fixed checking the socket if there is data waiting in the cache
authorJiri Hruska <jirka@fud.cz>
Fri, 15 Feb 2013 15:42:49 +0000 (16:42 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 22 Feb 2013 20:23:25 +0000 (20:23 +0000)
commit296b9a5af0c0de3f5b3d78a85a6ace8cdc9647f1
treeb1cd0387809a9ee27469eee246fce5f659391fca
parent1dac29fa83a9ed1285faa7e06d42c7b4ffd98a62
Fixed checking the socket if there is data waiting in the cache

Use Curl_pp_moredata() in Curl_pp_multi_statemach() to check if there is
more data to be received, rather than the socket state, as a task could
hang waiting for more data from the socket itself.
lib/pingpong.c