Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread Jason H
he client's fault? So I could also still be TOTALLY wrong. > Sent: Thursday, April 04, 2019 at 10:41 AM > From: "alexander golks" <a...@golks.de> > To: No recipient address > Cc: interest@qt-project.org > Subject: Re: [Interest] QWebSocketServer - server rand

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread Narolewski Jakub
. > > > Sent: Thursday, April 04, 2019 at 10:41 AM > > From: "alexander golks" > > To: No recipient address > > Cc: interest@qt-project.org > > Subject: Re: [Interest] QWebSocketServer - server randomly stops > accepting connections > > > >

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread Jason H
uot;), so maybe it's the client's fault? So I could also still be TOTALLY wrong. > Sent: Thursday, April 04, 2019 at 10:41 AM > From: "alexander golks" > To: No recipient address > Cc: interest@qt-project.org > Subject: Re: [Interest] QWebSocketServer - server randomly s

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread alexander golks
e handhake bytes may come in slowly and take multiple re-parsings, > (something to add to your fuzzer?) but you can wind up in an uncaught error > state. >   >   >   > Sent: Thursday, April 04, 2019 at 10:07 AM > From: "Jason H" > To: "Narolewski Jakub"

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread Jason H
terest@qt-project.org Subject: Re: [Interest] QWebSocketServer - server randomly stops accepting connections So, yeah, I was thinking of QTcpServer::incommingConnection(). That function is used in multithreadding because you use the descriptor to make a socket on the proper thread. Looks like QWeb

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread Jason H
stops working for whatever reason?   Sent: Thursday, April 04, 2019 at 9:13 AM From: "Narolewski Jakub" To: "Jason H" Cc: interest@qt-project.org Subject: Re: [Interest] QWebSocketServer - server randomly stops accepting connections That's the thing. I alread

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread Narolewski Jakub
That's the thing. I already handle connections and disconnections in my code - including logging relevant information. When I implemented this I heavily based on the example that you linked to. WSS communication is single threaded - only way to communicate with the outside world from different

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-03 Thread Jason H
What happens when you telnet to it? Are you getting stuff (SYN_ACK) rom the OS, is the OS resetting (RST) the connection? Is this listening on localhost, virtual or a physical interface? Linux is generally bad at power managment and networking and maybe that has something to do with it? There