Commit Graph

26 Commits

Author SHA1 Message Date
Łukasz Magiera
4014cbdb44 jsonrpc: Correctly cancel server-side contexts on lost connection 2020-05-01 21:50:34 +02:00
Jeromy
216072468f handle websocket clients disconnecting more properly 2020-04-20 09:52:16 -07:00
Łukasz Magiera
76698fe2db jsonrpc: Don't try to reconnect on the server side 2020-03-05 01:34:29 +01:00
jsign
54f2e6ea3a extra fixes
Signed-off-by: jsign <jsign.uy@gmail.com>
2020-01-24 22:48:30 -03:00
jsign
dbd51ff8e7 fix issue #127
Signed-off-by: jsign <jsign.uy@gmail.com>
2020-01-24 21:15:49 -03:00
Łukasz Magiera
fbc0330fa8 jsonrpc: Fix channel registration deadlock 2020-01-21 14:48:17 +01:00
Łukasz Magiera
d1f419c9d1 jsonrpc: Fix channel closing race 2020-01-20 19:21:16 +01:00
Łukasz Magiera
2e95a53679 Wire up faults in fPoSt 2019-12-17 23:33:08 +01:00
whyrusleeping
86deb7528c fix websocket closing again 2019-10-08 17:29:37 +09:00
whyrusleeping
6dd8ed7d7a pass those tests 2019-10-04 10:06:05 -06:00
whyrusleeping
697bed27a6 fix websocket closing 2019-10-04 10:06:05 -06:00
Łukasz Magiera
fe8e1fe1e4 Almost working new post code 2019-09-27 01:07:40 +02:00
Jakub Sztandera
81b5f46062 Implement RPC tracing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-26 08:50:21 +02:00
Łukasz Magiera
9b3ae45f61 jsonrpc: Break handleWsConn into smaller functions 2019-07-23 03:45:10 +02:00
Łukasz Magiera
2f0a088b18 jsonrpc: Move ws handler state to a struct 2019-07-23 03:20:48 +02:00
Łukasz Magiera
0d5d6cd1c2 jsonrpc: lint fixes 2019-07-23 02:40:45 +02:00
Łukasz Magiera
1b1ec2b812 jsonrpc: cleanup websocket handling logic a bit 2019-07-23 02:40:45 +02:00
Łukasz Magiera
40fa1becb5 jsonrpc: Handle closing channels 2019-07-23 02:40:45 +02:00
Łukasz Magiera
527ab7100a jsonrpc: basic channel test 2019-07-23 02:40:01 +02:00
Łukasz Magiera
fd40f9a82a jsonrpc: gofmt 2019-07-23 02:40:01 +02:00
Łukasz Magiera
ff4d1b5819 jsonrpc: Channel support 2019-07-23 02:40:01 +02:00
Łukasz Magiera
185db76646 jsonrpc: don't hang when remote crashes 2019-07-18 13:26:09 +02:00
Łukasz Magiera
661043f5c8 Lint fixes 2019-07-15 18:34:55 +02:00
Łukasz Magiera
1153f050bb Context cancellation over websockets 2019-07-15 18:21:48 +02:00
Łukasz Magiera
96ed4225fb improve error handling in handleWsConn 2019-07-13 14:44:20 +02:00
Łukasz Magiera
6a20d0dafe jsonrpc: Websocket server 2019-07-12 19:12:38 +02:00