Tag

  • Show log

    Commit

  • Hash : 79507cd8
    Author : Edward Thomson
    Date : 2020-06-01T22:44:14

    httpclient: clear the read_buf on new requests The httpclient implementation keeps a `read_buf` that holds the data in the body of the response after the headers have been written. We store that data for subsequent calls to `git_http_client_read_body`. If we want to stop reading body data and send another request, we need to clear that cached data. Clear the cached body data on new requests, just like we read any outstanding data from the socket.