{"author":"Jay Satiro","author_email":"raysatiro@yahoo.com","author_time":1736758665,"commit_time":1736847373,"committer":"Jay Satiro","committer_email":"raysatiro@yahoo.com","hash":"5ffc73c78ec48f6ddf38c68ae7e8ff41f54801e6","message":"transfer: fix CURLOPT_CURLU override logic\n\n- Change setopt and pretransfer to always reset URL related variables\n  for a CURLU handle set CURLOPT_CURLU.\n\nThis change is to ensure we are in compliance with the doc which says\nCURLU handles must be able to override a URL set via CURLOPT_URL and\nthat if the contents of the CURLU handle changes between transfers then\nthe updated contents must be used.\n\nPrior to this change, although subsequent transfers appear to be\nperformed correctly in those cases, the work URL `data->state.url` was\nnot updated. CURLINFO_EFFECTIVE_URL returns data->state.url to the user\nso it would return the URL from the initial transfer which was the wrong\nURL. It's likely there are other cases as well.\n\nRef: https://curl.se/libcurl/c/CURLOPT_CURLU.html\n\nReported-by: Nicolás San Martín\n\nFixes https://github.com/curl/curl/issues/15984\nCloses https://github.com/curl/curl/pull/15985\n","parents":["8ab468c8aa2e3b7b2354f0e9545859ca631f4457"],"tree_hash":"37dd52b988cd0914287301c40f41501ce7f145a9"}