| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 522cf5d commit 2a9c01c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -650,12 +650,9 @@ int HttpClient::available() | |||
| 650 | 650 | ||
| 651 | 651 | int HttpClient::read() | |
| 652 | 652 | { | |
| 653 | - if (iState == eReadingBodyChunk) | ||
| 653 | + if (iIsChunked && !available()) | ||
| 654 | 654 | { | |
| 655 | - if (!available()) | ||
| 656 | - { | ||
| 657 | - return -1; | ||
| 658 | - } | ||
| 655 | + return -1; | ||
| 659 | 656 | } | |
| 660 | 657 | ||
| 661 | 658 | int ret = iClient->read(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments