Closed mitsubishirgb closed 1 month ago
What is the error? Are you sure you want to use const & in a coroutine argument list?
Also: is this an exercise or a prod problem? Because the OS will cache DNS lookups for you.
What is the error? Are you sure you want to use const & in a coroutine argument list?
Also: is this an exercise or a prod problem? Because the OS will cache DNS lookups for you.
i thought the resolver function will send a new dns query everytime, mb. Also the error was access violation it seems like the awaited resource is being moved from the coroutine so when other coroutines try to get the value it causes the exception, std::shared_ptr
Not one built into cobalt. You can write your own awaitable type for that.
multiple requests are being made on the same domain and i want every coroutine to wait for the pending resolve but in this snippet an error is thrown in the second pending co_await