Lines Matching refs:postsize
444 expectsend = http->postsize; in http_perhapsrewind()
1072 if(!http->postsize) in readmoredata()
1079 if(http->postsize <= (curl_off_t)fullsize) { in readmoredata()
1080 memcpy(buffer, http->postdata, (size_t)http->postsize); in readmoredata()
1081 fullsize = (size_t)http->postsize; in readmoredata()
1083 if(http->backup.postsize) { in readmoredata()
1086 http->postsize = http->backup.postsize; in readmoredata()
1092 http->backup.postsize = 0; in readmoredata()
1095 http->postsize = 0; in readmoredata()
1102 http->postsize -= fullsize; in readmoredata()
1257 http->backup.postsize = http->postsize; in Curl_add_buffer_send()
1263 http->postsize = (curl_off_t)size; in Curl_add_buffer_send()
1950 curl_off_t postsize = 0; /* curl_off_t to handle large file sizes */ in Curl_http() local
2174 http->postsize = Curl_mime_size(http->sendit); in Curl_http()
2186 http->postsize < 0) || in Curl_http()
2669 postsize = 0; in Curl_http()
2671 postsize = data->state.infilesize; in Curl_http()
2673 if((postsize != -1) && !data->req.upload_chunky && in Curl_http()
2678 "\r\n", postsize); in Curl_http()
2683 if(postsize != 0) { in Curl_http()
2694 Curl_pgrsSetUploadSize(data, postsize); in Curl_http()
2704 postsize?FIRSTSOCKET:-1); in Curl_http()
2728 data->state.infilesize = postsize = http->postsize; in Curl_http()
2733 if(postsize != -1 && !data->req.upload_chunky && in Curl_http()
2739 "\r\n", postsize); in Curl_http()
2764 else if(postsize > EXPECT_100_THRESHOLD || postsize < 0) { in Curl_http()
2778 Curl_pgrsSetUploadSize(data, postsize); in Curl_http()
2793 postsize?FIRSTSOCKET:-1); in Curl_http()
2803 postsize = 0; in Curl_http()
2806 postsize = data->state.infilesize; in Curl_http()
2811 if((postsize != -1) && !data->req.upload_chunky && in Curl_http()
2817 "\r\n", postsize); in Curl_http()
2839 else if(postsize > EXPECT_100_THRESHOLD || postsize < 0) { in Curl_http()
2853 (postsize < MAX_INITIAL_POST_SIZE)) { in Curl_http()
2869 (size_t)postsize); in Curl_http()
2870 included_body = postsize; in Curl_http()
2873 if(postsize) { in Curl_http()
2875 result = Curl_add_bufferf(&req_buffer, "%x\r\n", (int)postsize); in Curl_http()
2878 (size_t)postsize); in Curl_http()
2881 included_body = postsize + 2; in Curl_http()
2892 Curl_pgrsSetUploadSize(data, postsize); in Curl_http()
2896 http->postsize = postsize; in Curl_http()
2905 Curl_pgrsSetUploadSize(data, http->postsize); in Curl_http()
2929 Curl_pgrsSetUploadSize(data, postsize?postsize:-1); in Curl_http()
2936 http->postsize = postsize; in Curl_http()
2977 if(data->req.writebytecount >= postsize) { in Curl_http()
2982 data->req.writebytecount, postsize); in Curl_http()