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
: "Jakub Narolewski" To: "interest@qt-project.org" Subject: [Interest] QWebSocketServer - server randomly stops accepting connections I have this one, strange problem with QWebSocketServer that is driving me insane. My project is a very simple, websocket-based online game se

[Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-03 Thread Jakub Narolewski
I have this one, strange problem with QWebSocketServer that is driving me insane. My project is a very simple, websocket-based online game server. It uses Qt SQL modules and makes use of some light QEvent'ing. Up until recently I used uWebSockets to drive my wss communications. To make matters