|
|
|
|
|
by losvedir
1016 days ago
|
|
Total rust newb here, but does that need the full async story, or is it a limitation of an API somewhere? From the point of view of the code using the request's response could you use a channel with recv_timeout? Is the problem there that the thread with the socket connection is still going and there's no way to stop it? |
|
Yes, the problem is that your thread would continue to perform work even if you stopped waiting on it.