Call the abort method of the request object when main request is canceled.
This is useful when express-request-proxy is used to proxify long polling requests.
In the polling mode of socket.io, when a client disconnects, the long polling request is canceled, but the proxified request persists between the middleware and the remote server.
The remote server sees the client as connected until the request timeouts.
Call the abort method of the request object when main request is canceled.
This is useful when express-request-proxy is used to proxify long polling requests.
In the polling mode of socket.io, when a client disconnects, the long polling request is canceled, but the proxified request persists between the middleware and the remote server.
The remote server sees the client as connected until the request timeouts.