Commit dee3163d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

when a chunked error is noticed, store the error number in the error string

to enable better error-tracking
parent 8b0668b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -831,7 +831,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
                failf(data, "Failed writing data");
                return CURLE_WRITE_ERROR;
              }
              failf(data, "Received problem in the chunky parser");
              failf(data, "Received problem %d in the chunky parser", res);
              return CURLE_RECV_ERROR;
            }
            else if(CHUNKE_STOP == res) {