[http] Cleanly shut down potentially looped interfaces
authorMichael Brown <mcb30@ipxe.org>
Thu, 2 Feb 2017 16:52:55 +0000 (16:52 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 2 Feb 2017 16:58:00 +0000 (16:58 +0000)
commit4a4da573dd8ffabff881ee52c2d1151c15d1730e
tree062c1fca0637d818a89c13b2a324fbe83acd99a7
parent23b788e5cdd7fcfa863a476a1448870ac3cf0103
[http] Cleanly shut down potentially looped interfaces

Use intfs_shutdown() and intfs_restart() to cleanly shut down multiple
interfaces that may loop back to the same object.

This fixes a regression introduced by commit daa8ed9 ("[interface]
Provide intf_reinit() to reinitialise nullified interfaces") which
broke the use of HTTP Basic and Digest authentication.

Reported-by: murmansk <murmansk@hotmail.com>
Reported-by: Brett Waldo <brettwaldo@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/tcp/httpcore.c