mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
* HTTP.cpp : rename method
This commit is contained in:
parent
8cb3e3418a
commit
2d252e6459
4 changed files with 4 additions and 4 deletions
|
@ -205,7 +205,7 @@ namespace client
|
|||
}
|
||||
/* append to json chunk of data from 1st request */
|
||||
json.write(buf->begin() + len, bytes_transferred - len);
|
||||
remains = req.length() - len;
|
||||
remains = req.content_length() - len;
|
||||
/* if request has Content-Length header, fetch rest of data and store to json buffer */
|
||||
while (remains > 0) {
|
||||
len = ((long int) buf->size() < remains) ? buf->size() : remains;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue