Adds KillOnDisconnect field to the Request object. Default is 0 (which emulates the previous behavior).
The use case for this feature is when you have a long-running endpoint and the client connection closes unexpectedly. Normally, the endpoint would continue to run, possibly blocking other requests (depending on if/how holds are used). Setting req.KillOnRequest←1 will kill the thread that's running the endpoint if the client connection closes. This can be set on an endpoint by endpoint basis.
Adds KillOnDisconnect field to the Request object. Default is 0 (which emulates the previous behavior).
The use case for this feature is when you have a long-running endpoint and the client connection closes unexpectedly. Normally, the endpoint would continue to run, possibly blocking other requests (depending on if/how holds are used). Setting req.KillOnRequest←1 will kill the thread that's running the endpoint if the client connection closes. This can be set on an endpoint by endpoint basis.