Fossil

Check-in [4ca5aa35]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | jan-httpsproxytunnel
Files: files | file ages | folders
SHA1:4ca5aa356c5c63076ac53ac1a7e297d7013c3748
User & Date: jan 2013-10-17 15:21:40
Context
2013-10-21
17:00
Merge from trunk. check-in: f3037e17 user: jan tags: jan-httpsproxytunnel
2013-10-17
15:21
Fixed typo. check-in: 4ca5aa35 user: jan tags: jan-httpsproxytunnel
10:04
Include User-Agent when connecting to proxy for https tunnels. Fixed a misplaced EOL. check-in: 08b02fe8 user: jan tags: jan-httpsproxytunnel
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/http_ssl.c.

187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
          "Proxy-Connection: keep-alive\r\n",
          "User-Agent: Fossil/" RELEASE_VERSION "\r\n\r\n",
          g.urlHostname, g.proxyOrigPort, g.urlHostname);
  }else{
    connStr = mprintf("CONNECT %s:%d HTTP/1.1\r\n"
          "Host: %s\r\n"
          "Proxy-Connection: keep-alive\r\n"
          "User-Agent: Fossil/" RELEASE_VERSION "\r\n",
          "Proxy-Authorization: %s\r\n\r\n",
          g.urlHostname, g.proxyOrigPort, g.urlHostname, g.urlProxyAuth);
  }
  BIO_write(bio, connStr, strlen(connStr));
  free(connStr);

  /* Wait for end of reply */







|







187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
          "Proxy-Connection: keep-alive\r\n",
          "User-Agent: Fossil/" RELEASE_VERSION "\r\n\r\n",
          g.urlHostname, g.proxyOrigPort, g.urlHostname);
  }else{
    connStr = mprintf("CONNECT %s:%d HTTP/1.1\r\n"
          "Host: %s\r\n"
          "Proxy-Connection: keep-alive\r\n"
          "User-Agent: Fossil/" RELEASE_VERSION "\r\n"
          "Proxy-Authorization: %s\r\n\r\n",
          g.urlHostname, g.proxyOrigPort, g.urlHostname, g.urlProxyAuth);
  }
  BIO_write(bio, connStr, strlen(connStr));
  free(connStr);

  /* Wait for end of reply */