(presumably affects all platforms, but not tested)
Tail of the stack trace is attached.
The steps needed:
- Use QNAM with a proxy which will reject you quickly (I use CCproxy with my IP not in the allowed list)
- Needs to have the SPDY or H2 attribute enabled on the QNetworkRequest
- Start connecting to any address (possibly needs to be an endpoint with TLS)
- Get rejected by the proxy / have the proxy close the connection
- Crash due to stack overflow
The problem is that it will then recursively emit errors until it crashes (the recursion being due to QHttpNetworkConnectionChannel::close trying to close the socket, which triggers a flush, which triggers an error emission which loops back to the aforementioned close() method).