File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ class HttpClient : public Client
272
272
@return Length of the body, in bytes, or kNoContentLengthHeader if no
273
273
Content-Length header was returned by the server
274
274
*/
275
- int contentLength ();
275
+ long contentLength ();
276
276
277
277
/* * Returns if the response body is chunked
278
278
@return true if response body is chunked, false otherwise
@@ -372,7 +372,7 @@ class HttpClient : public Client
372
372
// Stores the status code for the response, once known
373
373
int iStatusCode;
374
374
// Stores the value of the Content-Length header, if present
375
- int iContentLength;
375
+ long iContentLength;
376
376
// How many bytes of the response body have been read by the user
377
377
int iBodyLengthConsumed;
378
378
// How far through a Content-Length header prefix we are
You can’t perform that action at this time.
0 commit comments