Skip to content
Snippets Groups Projects
  • Daniel Stenberg's avatar
    13648f8c
    struct HandleData is now called struct SingleRequest, and is only for data that · 13648f8c
    Daniel Stenberg authored
    is inited at the start of the DO action. I removed the Curl_transfer_keeper
    struct completely, and I had to move out a few struct members (that had to
    be set before DO or used after DONE) to the UrlState struct. The SingleRequest
    struct is accessed with SessionHandle->req.
    
    One of the biggest reasons for doing this was the bunch of duplicate struct
    members in HandleData and Curl_transfer_keeper since it was really messy to
    keep track of two variables with the same name and basically the same purpose!
    13648f8c
    History
    struct HandleData is now called struct SingleRequest, and is only for data that
    Daniel Stenberg authored
    is inited at the start of the DO action. I removed the Curl_transfer_keeper
    struct completely, and I had to move out a few struct members (that had to
    be set before DO or used after DONE) to the UrlState struct. The SingleRequest
    struct is accessed with SessionHandle->req.
    
    One of the biggest reasons for doing this was the bunch of duplicate struct
    members in HandleData and Curl_transfer_keeper since it was really messy to
    keep track of two variables with the same name and basically the same purpose!