{
struct SessionHandle *data;
struct HTTP *http;
- (void)status; /* no use for us */
data=conn->data;
http=conn->proto.http;
free(buff->buffer);
free(buff);
- http->send_buffer = NULL; /* cleaer the pointer */
+ http->send_buffer = NULL; /* clear the pointer */
}
if(HTTPREQ_POST_FORM == data->set.httpreq) {
else if(HTTPREQ_PUT == data->set.httpreq)
conn->bytecount = http->readbytecount + http->writebytecount;
+ if (status != CURLE_OK)
+ return (status);
+
if(!conn->bits.retry &&
((http->readbytecount +
conn->headerbytecount -