]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
gpst: Mangle User-Agent haeder in one place
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 15 Aug 2017 15:15:51 +0000 (16:15 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 27 Feb 2018 15:27:03 +0000 (16:27 +0100)
commita50a1abc06782bf092e9d93c45d34761a6cebfce
tree1a92aa8805a8f2b44222313d82e2e059fd69f7b7
parent01388ab4c99dc7513905bda190b22f0bc3412d56
gpst: Mangle User-Agent haeder in one place

If we really need to override it for *all* requests, let's just do that
in gpst_common_headers(). Although maybe it'd be better just to ensure
that vpninfo->useragent is set appropriately in the first place?

It's not clear what we're gaining by preserving ->urlpath either, since
it never gets used as-is; we only *ever* override it with our own
strings. So we might as well just free the old one and set it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
auth-globalprotect.c
gpst.c