Commit graph

80 commits

Author SHA1 Message Date
Maxim Shishmarev
7fe55d7651 Peer testing, part I: select tester and testee 2019-05-06 14:15:34 +10:00
sachaaaaa
8240222798 Addressed all suggestions 2019-05-06 11:43:59 +10:00
sachaaaaa
64f850469c Generate and verify signatures for inter-snode requests 2019-05-02 16:34:22 +10:00
sachaaaaa
69c364cc18 Improve naming and pass-by-reference consistency 2019-05-02 15:00:01 +10:00
Maxim Shishmarev
53631df28d explicitly write response on quit (test only code) 2019-05-01 12:37:31 +10:00
Maxim Shishmarev
c8f647a928
Merge pull request #80 from msgmaxim/fix-warnings
remove unused code and fix some warnings
2019-04-26 11:40:47 +10:00
Maxim Shishmarev
1215aba6b9
combine code for single messages and batches (#81)
* combine code for single messages and batches

* fix typo
2019-04-24 16:59:41 +10:00
Maxim Shishmarev
e7aa6a00d0
Merge pull request #79 from msgmaxim/resend-on-failure
Retry pushing single messages on failure
2019-04-23 16:12:58 +10:00
Maxim Shishmarev
6ecfd17053 remove unused code and fix some warnings 2019-04-23 13:09:26 +10:00
Maxim Shishmarev
7d8cdbfbf2 use shared ptr for request_t in single messages and share it across different http sessions 2019-04-18 11:29:26 +10:00
Maxim Shishmarev
6deadac802 retry pushing single messages on failure 2019-04-18 10:57:54 +10:00
Maxim Shishmarev
9d73e10d28 use bulk_store api when process batches 2019-04-17 10:42:04 +10:00
Maxim Shishmarev
180315d6da replace polling DB with an event-based system for connected users 2019-04-15 15:57:24 +10:00
Maxim Shishmarev
c14d1bacd1 add deadline timer to outgoing http sessions 2019-04-10 17:37:12 +10:00
Beaudan
bc91abe8c8 Run clang format 2019-04-10 17:15:45 +10:00
Maxim Shishmarev
138ab49c97 long polling: delay responding to a retrieve request until we have new data 2019-04-10 15:13:14 +10:00
Maxim Shishmarev
2fa1621134 use move for callbacks instead of copying 2019-04-08 17:13:52 +10:00
Maxim Shishmarev
df36fd682c basic error recording in snode communication 2019-04-08 17:13:45 +10:00
Maxim Shishmarev
e1f7b4bbd0 add error code to http response 2019-04-08 17:09:06 +10:00
Beaudan
1a089feb78 Now make requests in format of actual lokid rpc endpoint
Clean up usage of const and pass by ref

Review suggestions

Review suggestions
2019-04-05 15:32:17 +11:00
Beaudan Campbell-Brown
0ee73af965
Merge pull request #32 from msgmaxim/batches
send messages in batches when dissolving
2019-04-04 14:51:55 +11:00
Beaudan
b3a43c6b68 Review comments 2019-04-04 09:22:25 +11:00
Maxim Shishmarev
32ece42082 send messages in batches when dissolving 2019-04-03 17:58:47 +11:00
Beaudan
54e3b0b836 Review suggestions 2019-04-03 12:08:36 +11:00
Beaudan
f76cffd644 Added include and ran linter 2019-03-25 10:35:21 +11:00
Maxim Shishmarev
55fc3c314f purge ptree and more robust client request handling 2019-03-22 16:47:18 +11:00
Maxim Shishmarev
b03cd9a586 replace ptree with json 2019-03-22 13:42:56 +11:00
Maxim Shishmarev
1db27a7da4 integration tests are working for dynamic swarms 2019-03-21 16:53:13 +11:00
Beaudan
10dc1eefd0 Run clang-format 2019-03-19 14:47:55 +11:00
Beaudan
3d6e0e9d94 Merge data-migration in and make existing messenger functionality work 2019-03-19 14:30:04 +11:00