[Interest] Strange QWebSocket/QTcpServer interaction... Bug in Firefox?

Richard Moore rich at kde.org
Sun Dec 21 22:24:58 CET 2014

On 21 December 2014 at 19:30, Guido Seifert <wargand at gmx.de> wrote:

> However, each time my QTcpServer also fires and gives me another
> QTcpSocket.
> Nothing ever comes through this new QTcpSocket... but it is there and a
> memory leak.

Browsers can (and do) pre-emptively connect to servers if they think they
might need to talk to them. This saves time as the connection is already
established when they come to use it. Your server needs to handle the case
of a connection that is not used.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141221/a0894b35/attachment.html>

More information about the Interest mailing list