I have a node client that tries to connect to a Websocket server that is behind an ELB.
Sometimes, the initial connection hangs and does not return, and i was wondering if there's a timeout options in websockets/ws module.
I saw that it's using the native https/http node lib and that lib has a setTimeout method - but it's not being used.
I patched my installed module to use that method and it worked. Is there another option I'm not aware of? Should I submit a PR?
Thanks!