Project

General

Profile

Bug #264 ยป 0002-fix-100-continue-handling.patch

libs3 client, fix 100-continue patch - Yehuda Sadeh, 07/08/2010 09:03 AM

View differences:

src/request.c
return;
}
request->propertiesCallbackMade = 1;
// Get the http response code
long httpResponseCode;
request->httpResponseCode = 0;
......
request->httpResponseCode = httpResponseCode;
}
response_headers_handler_done(&(request->responseHeadersHandler),
request->curl);
if (request->httpResponseCode) {
request->propertiesCallbackMade = 1;
response_headers_handler_done(&(request->responseHeadersHandler),
request->curl);
}
// Only make the callback if it was a successful request; otherwise we're
// returning information about the error response itself
    (1-1/1)