]> granicus.if.org Git - curl/commit
- Hang Kin Lau found and fixed: When I use libcurl to connect to an https
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 Feb 2007 22:12:15 +0000 (22:12 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 27 Feb 2007 22:12:15 +0000 (22:12 +0000)
commit060f7ca2d2a7f5c8845a62a143c1d9fa988d1269
treeece6bd391dfb56c808fae61e599e508baa83fd7a
parent638c715a5122697a34685615f24855b8417562f1
- Hang Kin Lau found and fixed: When I use libcurl to connect to an https
  server through a proxy and have the remote https server port set using the
  CURLOPT_PORT option, protocol gets reset to http from https after the first
  request.

  User defined URL was modified internally by libcurl and subsequent reuse of
  the easy handle may lead to connection using a different protocol (if not
  originally http).

  I found that libcurl hardcoded the protocol to "http" when it tries to
  regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as
  follows and it's working fine so far
CHANGES
RELEASE-NOTES
lib/url.c