[Qt-interest] Console QTcpServer stalls
Markus Goetz
Markus.Goetz at nokia.com
Fri Oct 23 09:49:11 CEST 2009
Hello Jason,
ext Jason H wrote:
> I have a multi-threaded QTcpSever.
>
> It runs fine most of the time, but once in a while It will get "hung up" on a connection. It is a console app, so what I do is hit control-C in the console and then it floods with all the requests that have been made since it stalled.
>
> I am wondering what might be doing this? This is against Qt 4.4.
>
> The listen() call is never interrupted by my code. And all incommingConnection() does is setup and start the thread. So nothing should be preventing more connections from getting accepted.
>
What do you mean by "listen() call never interrupted"? The listen()
function should immediately return.
Can you send a minimal example that reproduces this behavior?
Markus
More information about the Qt-interest-old
mailing list