actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

Support Client initiated Cancellation Propagation

Open marcsantiago opened this issue 2 years ago • 0 comments

Linking to the discussion, which contains the meat of the issue.

https://github.com/actix/actix-web/discussions/3011

Likewise, I'm aware of the difficult nature of this ask given the statelessness of the http protocol...

I believe Go handles this by polling the connection status internally and watching for CLOSE so that these events are propagated up.

Given actix-web positions itself as a higher level abstraction, we should also be able to have these events propagated up or that the very least the green-thread/connection needs to be exposed such that user can poll themselves.

marcsantiago avatar May 05 '23 16:05 marcsantiago