Hello,
I have writen my own implementation of HTTP server. I have one server socket and 2 client sockets (one for HTTP requests one for WebSockets connection). Both server and client sockets are non blocking. I have noticed strange behavior. In some cases I have to wait a while to accept connection from HTTP client. Browser debug mode shows it opened the connection but for few seconds I do not see incomming connection in the server. Attached screenshot, read areas show what I am talking about. My logs shows that my device is waitnig for connection (accept function returns -11) and I am not sure what is causing such delay.
Thanks,
PM
 
				 
		 
					 
                          
 
				 
				

