Check-in [211c476d23]
Not logged in
Overview

SHA1 Hash:211c476d2368d6244d3b4376d944f0b081f69e12
Date: 2007-07-30 18:57:36
User: drh
Comment:Send the HOST header parameter with /xfer requests.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/http.c from [2375258986] to [23446a0581].

@@ -202,10 +202,11 @@
     zSep = "";
   }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");
   }