]> granicus.if.org Git - curl/commit
url: make the original string get used on subsequent transfers
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jul 2017 21:52:10 +0000 (23:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jul 2017 21:52:10 +0000 (23:52 +0200)
commitb3786f61dc53adba67dd489e404dc68a4b26575e
tree3c13b7b8b4bd9b591052b35a9acb60feed648755
parentc0cdc68c7eacaa4fda3e2324f8618b6bbe038983
url: make the original string get used on subsequent transfers

... since CURLOPT_URL should follow the same rules as other options:
they remain set until changed or cleared.

Added test 1551 to verify.

Fixes #1631
Closes #1632
Reported-by: Pavel Rochnyak
lib/transfer.c
tests/data/Makefile.inc
tests/data/test1551 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1551.c [new file with mode: 0644]