diff options
| -rw-r--r-- | lib/transfer.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index cc13bae18..dc43cf6ce 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -838,6 +838,7 @@ static CURLcode readwrite_data(struct Curl_easy *data,                  ", maxdownload = %" CURL_FORMAT_CURL_OFF_T                  ", bytecount = %" CURL_FORMAT_CURL_OFF_T "\n",                  excess, k->size, k->maxdownload, k->bytecount); +          connclose(conn, "excess found in a read");          }          nread = (ssize_t) (k->maxdownload - k->bytecount);  | 
