Commit Graph

20 Commits

Author SHA1 Message Date
JoelKatz
ab8389609b Mark a caution in the code. A small cleanup. And dispatch on_close's to the
thread pool rather than handling them with a websocket lock.
2013-01-26 09:41:17 -08:00
JoelKatz
96e2e7497e Auto-TLS support. 2013-01-24 15:53:52 -08:00
JoelKatz
3a96e7c1b6 A surprisingly simple fix to the InfoSub/websocketpp deadlock. 2013-01-10 09:55:48 -08:00
Arthur Britto
04c17ac1f3 Work toward subscribe accounts by ledger index. 2013-01-05 16:51:45 -08:00
Arthur Britto
dc2d87480f Abstract parseUrl. 2012-12-29 14:39:41 -08:00
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