Vinnie Falco
ce66f950cf
Put json in its own module with header
2013-05-27 13:15:58 -07:00
Vinnie Falco
794b84c473
Fix missing file names for new Log partition code
2013-05-27 13:15:57 -07:00
Vinnie Falco
b26a0db8f5
Fix log partition type for WSConnection
2013-05-27 13:15:47 -07:00
Vinnie Falco
f4cb47fed6
Add ripple_net module
2013-05-27 13:14:09 -07:00
JoelKatz
5914195c42
WebSocket ping frequency must be tunable to work around ELB issue.
2013-05-27 12:16:41 -07:00
JoelKatz
423635d2ef
Faster publishing of order book changes to book listeners
2013-05-14 18:25:47 -07:00
JoelKatz
c31a8e7794
Dispatch sends and pings to the websocket strand.
2013-05-08 10:52:21 -07:00
JoelKatz
407a43aea9
Change shared_polymorphic_downcast to dynamic_pointer_cast.
2013-05-01 22:22:51 -07:00
JoelKatz
7f7bda9742
Stop processing on dead connections ASAP
2013-04-16 20:45:48 -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
92318a47bd
Log when we would disconnected, but don't actually disconnect for now.
2013-03-10 19:15:28 -07:00
JoelKatz
9cafb7a2a6
Fix load manager buglets.
2013-03-10 19:05:22 -07:00
JoelKatz
b10a2c7a18
Distinguish between excess server load and excessive connection work.
2013-03-08 13:45:43 -08:00
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