Skip to content
Snippets Groups Projects
Commit 35bed44f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

TCP: change default timeout to 5sec

parent a2250074
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) ...@@ -45,7 +45,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags)
char buf[256]; char buf[256];
int ret; int ret;
socklen_t optlen; socklen_t optlen;
int timeout = 100; int timeout = 50;
char hostname[1024],proto[1024],path[1024]; char hostname[1024],proto[1024],path[1024];
char portstr[10]; char portstr[10];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment