diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-01-31 22:20:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-01-31 22:20:17 +0000 |
commit | fd921c8cd6d308e2ad8f027917ea4a947c6c96b0 (patch) | |
tree | 9215224236636744e2a6ead34cbaf5b8f84a4d7c /lib | |
parent | ede7cf175e78d2be2c31bc469ad69d4e9073c1d1 (diff) |
removed the port number reset again, it is already being made when the
location: URL turns out to be an "absolute" one and that should be the only
time it is required.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -475,7 +475,6 @@ UrgError curl_urlget(UrgTag tag, ...) /*** *DANG* this is an RFC 2068 violation. The URL is supposed to be absolute and this doesn't seem to be that! - At least the Zeus HTTP server seem to do this. *** Instead, we have to TRY to append this new path to the old URL to the right of the host part. Oh crap, this is doomed to cause @@ -533,8 +532,6 @@ UrgError curl_urlget(UrgTag tag, ...) infof(data, "Follows Location: to new URL: '%s'\n", data->url); - data->port = 0; /* clear the port number so that we don't make any silly - assumptions for the new URL! */ /* clean up the sockets and SSL stuff from the previous "round" */ urlfree(data, FALSE); |