• Daniel Stenberg's avatar
    Robson Braga Araujo reported bug #1618359 · 89ab5f43
    Daniel Stenberg authored
    (http://curl.haxx.se/bug/view.cgi?id=1618359) and subsequently provided a
    patch for it: when downloading 2 zero byte files in a row, curl 7.16.0
    enters an infinite loop, while curl 7.16.1-20061218 does one additional
    unnecessary request.
    
    Fix: During the "Major overhaul introducing http pipelining support and
    shared connection cache within the multi handle." change, headerbytecount
    was moved to live in the Curl_transfer_keeper structure. But that structure
    is reset in the Transfer method, losing the information that we had about
    the header size. This patch moves it back to the connectdata struct.
    89ab5f43