Lines Matching refs:postsize
423 expectsend = http->postsize; in http_perhapsrewind()
996 if(!http->postsize) in readmoredata()
1003 if(http->postsize <= (curl_off_t)fullsize) { in readmoredata()
1004 memcpy(buffer, http->postdata, (size_t)http->postsize); in readmoredata()
1005 fullsize = (size_t)http->postsize; in readmoredata()
1007 if(http->backup.postsize) { in readmoredata()
1010 http->postsize = http->backup.postsize; in readmoredata()
1016 http->backup.postsize=0; in readmoredata()
1019 http->postsize = 0; in readmoredata()
1026 http->postsize -= fullsize; in readmoredata()
1171 http->backup.postsize = http->postsize; in Curl_add_buffer_send()
1177 http->postsize = (curl_off_t)size; in Curl_add_buffer_send()
1746 curl_off_t postsize = 0; /* curl_off_t to handle large file sizes */ in Curl_http() local
2097 &http->postsize); in Curl_http()
2434 "\r\n", http->postsize); in Curl_http()
2467 Curl_pgrsSetUploadSize(data, http->postsize); in Curl_http()
2497 postsize = 0; in Curl_http()
2499 postsize = data->state.infilesize; in Curl_http()
2501 if((postsize != -1) && !data->req.upload_chunky && in Curl_http()
2506 "\r\n", postsize); in Curl_http()
2511 if(postsize != 0) { in Curl_http()
2522 Curl_pgrsSetUploadSize(data, postsize); in Curl_http()
2532 &http->readbytecount, postsize?FIRSTSOCKET:-1, in Curl_http()
2533 postsize?&http->writebytecount:NULL); in Curl_http()
2542 postsize = 0; in Curl_http()
2545 postsize = (data->state.infilesize != -1)? in Curl_http()
2553 if((postsize != -1) && !data->req.upload_chunky && in Curl_http()
2559 "\r\n", postsize); in Curl_http()
2581 else if(postsize > TINY_INITIAL_POST_SIZE || postsize < 0) { in Curl_http()
2595 (postsize < MAX_INITIAL_POST_SIZE)) { in Curl_http()
2611 (size_t)postsize); in Curl_http()
2612 included_body = postsize; in Curl_http()
2615 if(postsize) { in Curl_http()
2617 result = Curl_add_bufferf(req_buffer, "%x\r\n", (int)postsize); in Curl_http()
2620 (size_t)postsize); in Curl_http()
2623 included_body = postsize + 2; in Curl_http()
2634 Curl_pgrsSetUploadSize(data, postsize); in Curl_http()
2638 http->postsize = postsize; in Curl_http()
2647 Curl_pgrsSetUploadSize(data, http->postsize); in Curl_http()
2671 Curl_pgrsSetUploadSize(data, postsize?postsize:-1); in Curl_http()
2678 http->postsize = postsize; in Curl_http()
2721 if(http->writebytecount >= postsize) { in Curl_http()
2726 http->writebytecount, postsize); in Curl_http()