ref: 3ce608921a3a4380584912b1700db8ff8f653f86
parent: 30b2154e758bc5d6518b971541dac229acdc45e9
author: stanley lieber <[email protected]>
date: Thu May 3 08:31:09 EDT 2012
webfs/httpc.: increase dial timeout to 10 seconds, response timeout to 20 seconds
--- a/sys/src/cmd/webfs/http.c
+++ b/sys/src/cmd/webfs/http.c
@@ -542,9 +542,9 @@
qunlock(qpost);
}
- /* give 5 seconds to dial */
+ /* give 10 seconds to dial */
if(h == nil){
- alarm(5000);
+ alarm(10000);
if((h = hdial(proxy ? proxy : u)) == nil)
break;
}
@@ -620,8 +620,8 @@
/* no timeout when posting */
alarm(0);
} else {
- /* wait 10 seconds for the response */
- alarm(10000);
+ /* wait 20 seconds for the response */
+ alarm(20000);
}
Cont: