diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2025-11-27 13:04:40 +0100 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2025-11-28 17:59:39 +0100 |
| commit | 949bebaec69d908ca842e8ef7d3e3800d8c2f7b5 (patch) | |
| tree | f2f98eacc8dd516522e24d3380030afa8a119272 /src/corelib/kernel/qobject.cpp | |
| parent | d2785004775df7a9c12c1565d0b56ca18b92df8b (diff) | |
Http: properly handle a connection: close state when server disconnects
We already somewhat do this, but possibly due to version differences the
path in _q_error is not reached on certain Windows systems.
Add the same path checking for 'no content-length specified' in the
slot to handle the socket disconnected() signal, though unlike the
_q_error path we don't need to do a queued invoke - the socket is
definitely already disconnected.
Pick-to: 6.10 6.8
Change-Id: I65bcab18bd3de80c26a1a5f88e8ffd2840cfa291
Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
