@ɹɐqʞɐzoɹǝɟ timing out connections is at the discretion of both endpoints. It's not specified in the protocol.
I.e. the TCP FIN frame or a GOAWAY settings frame will both indicate that the connection was closed, but they won't tell you that it is due to a timeout (except for the very specific case of SETTINGS_TIMEOUT [see RFC 7540])
Events which propagate through a chain which can be registered anywhere and be prevented propagation any time by the previous callback are a horrible invention…
I... totally never really considered this like that, but indeed, if someone would really create a world for souls to go learn about life before going back to hell or heaven depending on what they do there... what a maniac indeed
@PeeHaa heh. to this day, I vividly remember being frozen in front of my screen, wondering if nsa was live broadcasting myself to you
Hello, I created a single page php script and I have a long running task there. I wanted to ajax that task by asking the same script for a result, but it doesn't return an answer while the long running task is working, how can I make it work?
<?php
<?php if(*request for ajax response*) { return response } else { * start the long running task * } ?> html here with js (ajax calls to this same page)