blob: 71bf2ae1cdf1505b2c90c7584d37dfdf7d749a3f (
plain) (
blame)
1
2
3
4
5
6
|
<tt>
<div dir="ltr">Hi,<div><br></div><div>I have a handler that spawns a process and links to this process. the new process does not trap exit signals.<div><br></div><div>When I open the URL that is handled by this handler in the browser, and stop the browser before the handler finishes the request, the handler is terminated and my terminate function is called with the Reason set to {error,closed} or something similar.</div><br>
<div><br></div><div>When this happens, the linked process does not get killed, so I have to call exit on it from the terminate function.</div><div><br></div><div>is this by design? I suppose when I cancel the browser request, the handler is exited with normal exit code, correct? could you point me to the source code for that part? it is perhaps in the "ranch" repo, no?</div><br>
</div><div><br></div><div>thanks in advance</div><div><br></div><div>konstantin</div><div><br></div></div><br>
</tt>
|