now sends cookies space separated to better work with IIS4.0 servers
This commit is contained in:
parent
d7703aa653
commit
2ad8ed7771
@ -232,11 +232,11 @@ UrgError http(struct UrlData *data, char *ppath, char *host, long *bytecount)
|
|||||||
if(co->value && strlen(co->value)) {
|
if(co->value && strlen(co->value)) {
|
||||||
if(0 == count) {
|
if(0 == count) {
|
||||||
sendf(data->firstsocket, data,
|
sendf(data->firstsocket, data,
|
||||||
"Cookie: ");
|
"Cookie:");
|
||||||
}
|
}
|
||||||
count++;
|
count++;
|
||||||
sendf(data->firstsocket, data,
|
sendf(data->firstsocket, data,
|
||||||
"%s=%s;", co->name, co->value);
|
" %s=%s;", co->name, co->value);
|
||||||
}
|
}
|
||||||
co = co->next; /* next cookie please */
|
co = co->next; /* next cookie please */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user