summaryrefslogtreecommitdiff
path: root/sys/src/cmd/webfs/http.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-05-26 03:33:39 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-05-26 03:33:39 +0200
commitef5e19b9be94b07ac68711255d87a7e5b31a65a4 (patch)
tree34f9d484f04ae7bb311ae7f9b16d78613c77b43d /sys/src/cmd/webfs/http.c
parent257c7e958ef125ec12cc218519ce56f767eb112d (diff)
add leading dot for explicit domain in webcookies, bump redirection limit to 12 in webfs
Diffstat (limited to 'sys/src/cmd/webfs/http.c')
-rw-r--r--sys/src/cmd/webfs/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/webfs/http.c b/sys/src/cmd/webfs/http.c
index ecc2dde83..03029bb6a 100644
--- a/sys/src/cmd/webfs/http.c
+++ b/sys/src/cmd/webfs/http.c
@@ -506,7 +506,7 @@ http(char *m, Url *u, Key *shdr, Buq *qbody, Buq *qpost)
h = nil;
pid = 0;
needlength = 0;
- for(try = 0; try < 6; try++){
+ for(try = 0; try < 12; try++){
strcpy(status, "0 No status");
if(u == nil || (strcmp(u->scheme, "http") && strcmp(u->scheme, "https"))){
werrstr("bad url scheme");