• Show log

    Commit

  • Hash : bd346313
    Author : Jesse Hathaway
    Date : 2020-07-10T15:37:08

    httpclient: only free challenges for current_server type
    
    Prior to this commit we freed both the server and proxy auth challenges
    in git_http_client_read_response. This works when the proxy needs auth
    or when the server needs auth, but it does not work when both the proxy
    and the server need auth as we erroneously remove the server auth
    challenge before we have added them as server credentials. Instead only
    remove the challenges for the current_server type.
    
    Co-authored-by: Stephen Gelman <ssgelm@gmail.com>