Add method to check if the client connection is still alive


Add QHttpServerResponder::isResponseCanceled() to check if the client
has canceled the response. Make sure the responder does not try to
send back after the response is canceled.

Fixes: QTBUG-120626
Change-Id: I5b3aea4676909317cc28b86c2b8fc5e71f8f8a70
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
commita7642956fde1956fdae9927545a929d48bd6fd68
parente5c3c7398ce12f49bb6af65cbf5c1cce18fb59ad
authorØystein Heskestad <oystein.heskestad@qt.io>
committerØystein Heskestad <oystein.heskestad@qt.io>
commit timeMon, 20 Oct 2025 10:27:00 +0200