JoelKatz
|
c31a8e7794
|
Dispatch sends and pings to the websocket strand.
|
2013-05-08 10:52:21 -07:00 |
|
JoelKatz
|
5c89093e5f
|
Aggregate client load into a queue. This will prevent large numbers of commands
from a single client from flooding the job queue.
|
2013-04-16 17:28:53 -07:00 |
|
JoelKatz
|
b9456c8fd7
|
Except when interacting with boost, use std::function and std::bind
when C++11 is available. See: http://stackoverflow.com/questions/14617835
|
2013-03-16 03:27:43 -07:00 |
|
JoelKatz
|
124aed01e8
|
Bugfix.
|
2013-03-07 00:28:42 -08:00 |
|
JoelKatz
|
3fa3ffa952
|
Log the IP we get commands from.
|
2013-03-06 21:34:17 -08:00 |
|
JoelKatz
|
f0c029ef0d
|
Rework the way load is accounted to be more accurate and more specific.
|
2013-03-03 16:24:47 -08:00 |
|
JoelKatz
|
cb90b717cc
|
For now, don't enforce ping timeouts. Just sending the pings is sufficient
to cause dead connections to break.
|
2013-02-22 09:33:26 -08:00 |
|
JoelKatz
|
73fe72bfa3
|
Track whether a message is a broadcast. If a broadcast, log at a lower level.
|
2013-02-12 22:05:46 -08:00 |
|
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 |
|