Skip to content

Conversation

karakum
Copy link

@karakum karakum commented Jun 6, 2021

Client read only part of response and break straight away of client->available() got FALSE , so parsing always fail. But there can be unread data!
You just have to wait until the timeout expires and then give up and return that already read.

This PS try out to read all bytes according to header Content-Length if it present.

@karakum
Copy link
Author

karakum commented Jun 15, 2021

@witnessmenow up

1 similar comment
@karakum
Copy link
Author

karakum commented Nov 29, 2021

@witnessmenow up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant