niansa/tuxifan
niansa/tuxifan
1.7 is old.
The first bytes get transfered as they should.
Setting the timeout to `1` causes: free(): double free detected in tcache 2 Aborted (core dumped) or even: Segmentation fault (core dumped) I am trying to pull a stack trace...
I changed it to this: ```c++ // Receive response std::vector response(256); while (true) { auto pres = co_await client.poll(coro::poll_op::read, timeout); // Check if poll succeeded if (pres == coro::poll_status::event) {...
ssl_handshake returns successfully. I am checking that. Current timeout is set to 5 seconds, and I am getting no data at all. Strace shows me that `read()` returns `EAGAIN`. Should...
> A 5 second timeout seems plenty long for any non-overloaded server to return in time, Alright, I changed default value to 0. > have you verified you can curl...
I updated my repository with my current code, feel free to mess with it yourself: https://github.com/niansa/libcoroExperiments
I updated the repository with the changes as you said. It's still broken for me. Maybe you could take a quick look at the newest commit? What did I do...
It actually stucks there polling. It is actually WAITING for more data... But for some reason all it gets is EAGAIN
I agree. But at the very least it should accept a reference instead of a pointer - using raw pointers in C++ is known as bad practice.