]> git.ipfire.org Git - thirdparty/systemd.git/commit
pull-job: make sure pull_job_restart() can be used to fetch the same resource again...
authorLennart Poettering <lennart@amutable.com>
Fri, 7 Nov 2025 07:32:39 +0000 (08:32 +0100)
committerLennart Poettering <lennart@amutable.com>
Thu, 19 Feb 2026 14:05:15 +0000 (15:05 +0100)
commitd66e3cc79a06cf02c972d76ba0f98cc2facf6ed2
tree0eeddee960293a1009bbb14c216e4f9603e98e61
parent93915ec17abc484903af0f424b0a786a87a9674f
pull-job: make sure pull_job_restart() can be used to fetch the same resource again, just with new headers

Let's flush out all response state from the job, but let's keep the
request data previously configured, in particular the headers set. This
is useful to re-request a resource, just with a slightly modified or
identical URL.
src/import/pull-job.c
src/import/pull-job.h