Commit Graph

22 Commits

Author SHA1 Message Date
JoelKatz
7621feda7b Updates to load monitoring and source load tracking. 2013-03-08 09:48:54 -08:00
JoelKatz
7c3d732a08 Name load source. Hook up load sources through WSConnection->RPCHandler. 2013-03-07 18:07:34 -08:00
JoelKatz
8d25b67ad9 Use the correct downcast. 2013-02-26 06:30:37 -08:00
JoelKatz
c570cca15e Rewrite the notification code to use smart pointers. This fixes several
fatal race conditions in notifications. This makes failure to remove a
notification non-fatal (it will remove itself harmlessly when an attempt is
made to notify it).
2013-02-26 00:11:23 -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
8f9b41e446 Turn websocket ping frequency down. 2013-02-21 14:45:41 -08:00
JoelKatz
9508a4a7d6 Try to prevent websocket connections from pinging out. 2013-02-21 14:22:08 -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
Stefan Thomas
51c8fbcaf4 WS: Error "missingCommand" should follow the same format as other errors. 2013-02-07 18:35:20 +01:00
JoelKatz
ff41c3c5cc Add auto-TLS support. 2013-01-24 15:52:38 -08:00
Arthur Britto
032022a5bf Clarify how security works in rippled-example.cfg 2013-01-18 15:38:27 -08:00
JoelKatz
dd8559628e Pass the correct remote IP address down. 2013-01-18 02:47:36 -08:00
Arthur Britto
bda80d4144 Change the security model for RPC admin access. 2013-01-18 00:36:22 -08:00
JoelKatz
3a96e7c1b6 A surprisingly simple fix to the InfoSub/websocketpp deadlock. 2013-01-10 09:55:48 -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
f585a37ead Fix, I hope, the websocket connection leak. 2012-12-24 13:59:38 -08:00
JoelKatz
cbeacc5a30 Stray space. 2012-12-08 11:21:07 -08:00
Arthur Britto
0f9cdb1c8b Remove support for RPC style calls over websocket. 2012-12-06 20:22:02 -08:00
JoelKatz
2c342d984f Fixes. Template code must go in header files. 2012-12-06 18:59:45 -08:00
jed
4ec4ccf490 broken websocket code 2012-12-06 16:48:04 -08:00
Stefan Thomas
00bb9d99a7 Refactored WSConnection and RPCHandler to have one layer of commands.
Evented RPC commands are now on the same level as all other RPC
commands and are handled by the RPCHandler class.
2012-11-10 15:17:28 -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