Skip to content
Snippets Groups Projects
Commit 2be8c7a4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

- Oskar Liljeblad <osk@hem.passagen.se> pointed out and corrected a problem

   in the Location: following system that made curl following a location: to a
   different protocol to fail.
parent 2974fb68
No related branches found
No related tags found
No related merge requests found
......@@ -533,6 +533,8 @@ 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment