Differences From:
File
src/http.c
part of check-in
[49b59bc559]
- Issue a warning after a commit if the commit causes a fork.
by
drh on
2008-02-09 00:11:04.
[view]
To:
File
src/http.c
part of check-in
[1dbf332352]
- Fix the HOST: header to use the original URL, not the proxy URL.
by
drh on
2008-05-05 19:08:43.
[view]
@@ -339,9 +339,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);
+ blob_appendf(&hdr, "Host: %s\r\n", g.urlHostname);
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");