• Hans Lehnert's avatar
    wininet: Handle http headers correctly when length is 0. · b5dcfdad
    Hans Lehnert authored
    In HttpSendRequestW and HttpSendRequestExW, if the header pointer is not
    null but the length parameter is 0, the header length should be derived
    from the string length instead.
    
    In HttpSendRequestA and HttpSendRequestExA, on the same scenario, the
    function should fail instead.
    b5dcfdad
http.c 334 KB