|
@@ -450,9 +450,6 @@ static CURLcode http_perhapsrewind(struct connectdata *conn)
|
|
/* figure out how much data we are expected to send */
|
|
/* figure out how much data we are expected to send */
|
|
switch(data->set.httpreq) {
|
|
switch(data->set.httpreq) {
|
|
case HTTPREQ_POST:
|
|
case HTTPREQ_POST:
|
|
- if(data->state.infilesize != -1)
|
|
|
|
- expectsend = data->state.infilesize;
|
|
|
|
- break;
|
|
|
|
case HTTPREQ_PUT:
|
|
case HTTPREQ_PUT:
|
|
if(data->state.infilesize != -1)
|
|
if(data->state.infilesize != -1)
|
|
expectsend = data->state.infilesize;
|
|
expectsend = data->state.infilesize;
|