fix v2.32.0-rc0 bug with Negotiate / HTTP_NOAUTH
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | t5551: test http interaction with credential helperst/ | +41 | 0 replies | |
| 2/2 | Revert "remote-curl: fall back to basic auth if Negotiate fails"http.c t/ | +8 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fix v2.32.0-rc0 bug with Negotiate / HTTP_NOAUTH
Quoted 6 lines · Jeff King
So perhaps somebody can come up with something clever, but I suspect we may need to just revert this for the v2.32 release, and re-break the case that
1b0d9545bb8was trying to solve.We probably should beef up the tests around http's credential-rejection, too, to catch this regression.
Here are some patches. The first one adds the tests, and I think is an obvious improvement.
The second one does the revert. I'd be quite happy if somebody wants to figure out how to fix it in a way that addresses the original problem, and then we can replace that. But in the meantime, I think it makes sense to prepare the revert, as we wouldn't want to release v2.32.0 with the bug.
[1/2]: t5551: test http interaction with credential helpers [2/2]: Revert "remote-curl: fall back to basic auth if Negotiate fails"
http.c | 15 +++++++------- t/t5551-http-fetch-smart.sh | 41 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 8 deletions(-)
-Peff