Differences From:
File
src/http.c
part of check-in
[bfe6e64f94]
- Fix a bug in the /xfer login logic.
by
drh on
2007-07-30 18:38:43.
[view]
To:
File
src/http.c
part of check-in
[211c476d23]
- Send the HOST header parameter with /xfer requests.
by
drh on
2007-07-30 18:57:36.
[view]
@@ -203,8 +203,9 @@
}else{
zSep = "/";
}
blob_appendf(&hdr, "POST %s%sxfer HTTP/1.1\r\n", g.urlPath, zSep);
+ blob_appendf(&hdr, "Host: %s:%d\r\n", g.urlName, g.urlPort);
if( g.fHttpTrace ){
blob_appendf(&hdr, "Content-Type: application/x-fossil-debug\r\n");
}else{
blob_appendf(&hdr, "Content-Type: application/x-fossil\r\n");