multi.c: OOM handling fixes
authorYang Tse <yangsita@gmail.com>
Thu, 13 Oct 2011 16:04:56 +0000 (18:04 +0200)
committerYang Tse <yangsita@gmail.com>
Thu, 13 Oct 2011 16:04:56 +0000 (18:04 +0200)
commit34770b8ab0f2881b7437ef73ca757957335997a0
treea239fb9ba66eb7db584c3327eca72e51ed51c2ba
parent880cf0bedc7bae7a937bae7fc54bb7b7d8048d3a
multi.c: OOM handling fixes

Prevent modification of easy handle being added with curl_multi_add_handle()
unless this function actually suceeds.

Run Curl_posttransfer() to allow restoring of SIGPIPE handler when
Curl_connect() fails early in multi_runsingle().
lib/multi.c