Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In coro_http, is it possible to check if there data to read without reading it? #859

Open
AmitBlokBox opened this issue Dec 18, 2024 · 1 comment · May be fixed by #860
Open

In coro_http, is it possible to check if there data to read without reading it? #859

AmitBlokBox opened this issue Dec 18, 2024 · 1 comment · May be fixed by #860

Comments

@AmitBlokBox
Copy link

something like bool has_data_to_read(). Alternatively, something like size_t try_read() that will return 0 if there is no data to read at the moment?

@AmitBlokBox AmitBlokBox changed the title In coro_http, is it possible to check if there data to read withour reading it? In coro_http, is it possible to check if there data to read without reading it? Dec 18, 2024
@qicosmos
Copy link
Collaborator

Maybe possible, i will have a try.

@qicosmos qicosmos linked a pull request Dec 19, 2024 that will close this issue
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 a pull request may close this issue.

2 participants