Commit Graph

15 Commits

Author SHA1 Message Date
JoelKatz
49e6372a4e Forgot to send the actual ping. 2012-12-25 10:40:58 -08:00
JoelKatz
9124c91884 Ping websocket connections every two minutes.
Detect and close non-responsive connections.
UNTESTED
2012-12-25 10:19:24 -08:00
JoelKatz
a23788de77 Fix a small memory leak. 2012-12-14 08:51:33 -08:00
JoelKatz
092fe4389e Tiny optimization -- don't find the entry twice. 2012-12-13 12:15:23 -08:00
JoelKatz
ef93881d71 Fix the deadlock. We were destroying the WSConnection while holding the
MapLock causing a deadlock between the MapLock and MonitorLock.
2012-12-13 12:09:48 -08:00
JoelKatz
4ed1b4f267 Dispatch all websocket commands to our pool. This should fix the deadlocks. 2012-12-08 19:54:32 -08:00
JoelKatz
78f6294832 Don't create a new context for each connection. 2012-12-08 10:42:25 -08:00
JoelKatz
54ee3904e2 Be more flexible in the way we accept certificate chains. 2012-12-07 14:29:39 -08:00
JoelKatz
0ace657d81 Error checking. 2012-12-07 10:45:21 -08:00
JoelKatz
670763d321 Need working ways to specify the key, cert, and chain. 2012-12-06 19:19:53 -08:00
JoelKatz
a17babcfaf Fix small buglets. 2012-12-06 18:59:34 -08:00
jed
4ec4ccf490 broken websocket code 2012-12-06 16:48:04 -08:00
JoelKatz
8e520e8816 Locking fixes. 2012-11-20 15:20:43 -08:00
JoelKatz
19d73bd477 More tie ins. 2012-11-19 15:41:45 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00