summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2017-11-07 12:33:13 +0100
committerMichael Brown2017-11-12 19:52:03 +0100
commitc49acbb4d2d84c6cb2faacd18fa21ed5d12ed450 (patch)
tree8a8903067c05a1a79a4f5baba5f4bff13b71882e /src/include
parent[ntlm] Add support for NTLM authentication mechanism (diff)
downloadipxe-c49acbb4d2d84c6cb2faacd18fa21ed5d12ed450.tar.gz
ipxe-c49acbb4d2d84c6cb2faacd18fa21ed5d12ed450.tar.xz
ipxe-c49acbb4d2d84c6cb2faacd18fa21ed5d12ed450.zip
[http] Gracefully handle offers of multiple authentication schemes
Servers may provide multiple WWW-Authenticate headers, each offering a different authentication scheme. We currently fail the request as soon as we encounter an unrecognised scheme, which prevents subsequent offers from succeeding. Fix by silently ignoring headers for schemes that we do not recognise. If no schemes are recognised then the request will eventually fail anyway due to the 401 response code. If multiple schemes are supported, arbitrarily choose the scheme appearing first within the response headers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions