tcp: Check both wfds and efds when waiting for the result from connect
authorMartin Storsjö <martin@martin.st>
Tue, 21 Sep 2010 20:17:34 +0000 (20:17 +0000)
committerMartin Storsjö <martin@martin.st>
Tue, 21 Sep 2010 20:17:34 +0000 (20:17 +0000)
commitb41626762253e3d08f8a61db36fcbd1766e4de09
tree1d7b850e93c352787ac5d6b9bbd621c78b5002a8
parentc0bc8b9afb7e4f39d84080870b9feedcd23ab5c9
tcp: Check both wfds and efds when waiting for the result from connect

On windows, a connection failure doesn't trigger wfds as it does on unix.

This fixes issue 2237, based on code by yeyingxian.

Originally committed as revision 25154 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tcp.c