FigBug/Gin

Web Sockets Connection Failed Intermittently

Amusesmile opened this issue · 1 comments

I've been getting a "Connection error!" message while using the web sockets classes in Gin. Our javascript and other implementations seem to work correctly without issue on the same server so I'm wondering if it has to do with Gin specifically, or the low level juce classes that it uses. Just wondering if you've ever seen this behavior. Thanks by the way- awesome library all around.

I think it might be because pingInterval is undefined and often defaults to zero. If I set it explicitly it seems to fix the issue.