tcp: Use a default timeout of 5 sec for opening a connection but not for receiving...
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Jul 2013 23:33:19 +0000 (01:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Jul 2013 23:33:19 +0000 (01:33 +0200)
commit68b7b534be5912dbd28283d0d566a2ee88e51f9b
treeae50fa52befb15d5f179214bc746f70171bfeabe
parentefa9e6b4234534682bf7e4629c2e8024e35c64f2
tcp: Use a default timeout of 5 sec for opening a connection but not for receiving packets

This should be closer to how tcp behaved longer ago and should
fix the issue with idle connections timing out.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/tcp.c