Commit Graph

128 Commits

Author SHA1 Message Date
Zlatin Balevsky
82b9d5054d new hostcache address 2019-05-24 22:17:50 +01:00
Zlatin Balevsky
ac889b7906 parsing of events; check that the persona in the results matches the destination 2019-05-24 21:35:29 +01:00
Zlatin Balevsky
5df170f982 write the number of results before the results 2019-05-24 19:33:50 +01:00
Zlatin Balevsky
b308b4e91f request is already processed on threadpool 2019-05-24 17:49:04 +01:00
Zlatin Balevsky
0a5c5ad520 wip on receiving results 2019-05-24 17:44:41 +01:00
Zlatin Balevsky
a7555c3073 wip on sending results 2019-05-24 16:23:13 +01:00
Zlatin Balevsky
d9d7178ac7 move UIResultsEvent class to search package 2019-05-24 14:38:30 +01:00
Zlatin Balevsky
264598f159 introduce UI results event and publish local results to it 2019-05-24 14:28:05 +01:00
Zlatin Balevsky
23432dbdd5 FileManager listens to SearchEvents 2019-05-24 14:03:29 +01:00
Zlatin Balevsky
ea954cf824 SearchEvent is an Event 2019-05-24 13:59:58 +01:00
Zlatin Balevsky
2bac74efb5 pass logging config file 2019-05-24 13:41:26 +01:00
Zlatin Balevsky
ca9bd76dba log event types, fix script execution 2019-05-24 13:32:40 +01:00
Zlatin Balevsky
e2acf7fddc wip on handling search results 2019-05-24 13:06:42 +01:00
Zlatin Balevsky
8ea6ecdea9 store properties on startup 2019-05-23 19:59:39 +01:00
Zlatin Balevsky
ee8c39f032 serialization of personas. Load persona on startup 2019-05-23 18:55:47 +01:00
Zlatin Balevsky
681feed70c Name serialization 2019-05-23 17:21:48 +01:00
Zlatin Balevsky
b03ed706c5 nickname is part of settings 2019-05-23 17:20:04 +01:00
Zlatin Balevsky
98718475c1 fix gradle build by adding missing deps 2019-05-23 14:04:47 +01:00
Zlatin Balevsky
f14d4e652e add destination the query was received from 2018-08-04 13:13:48 +01:00
Zlatin Balevsky
3a2fad4816 skeleton of leaf searcher 2018-08-03 23:31:52 +01:00
Zlatin Balevsky
76b190b742 upsert and delete events 2018-08-03 22:47:15 +01:00
Zlatin Balevsky
376075df8a execute a script if provided one 2018-08-02 02:10:22 +01:00
Zlatin Balevsky
2dc26cf7bf do not log warning on SocketTimeoutExceptions 2018-07-28 22:19:16 +01:00
Zlatin Balevsky
c98248f8b5 fix typo 2018-07-28 20:23:49 +01:00
Zlatin Balevsky
dd287bae18 add disconnection event, publish it on closing connections, handle it in connection manager 2018-07-28 20:19:02 +01:00
Zlatin Balevsky
9aeb9de070 log length as well 2018-07-27 16:00:32 +01:00
Zlatin Balevsky
a76d055771 fix handling of second byte 2018-07-27 15:58:13 +01:00
Zlatin Balevsky
736a4a7424 Configure deflater output streams for sync flush, flush after each message 2018-07-27 15:48:23 +01:00
Zlatin Balevsky
a004bd430a start connection manager, fix some issues 2018-07-27 14:51:31 +01:00
Zlatin Balevsky
4e31f216a8 wip on getting pings to work 2018-07-27 12:13:07 +01:00
Zlatin Balevsky
8edd495430 tie in sending of pings on a timer 2018-07-27 11:54:10 +01:00
Zlatin Balevsky
cfb04a9811 work on handling pings 2018-07-27 09:40:58 +01:00
Zlatin Balevsky
fbb1292862 header un/packing 2018-07-27 08:59:46 +01:00
Zlatin Balevsky
e38fc4242b utility to write unsigned shorts 2018-07-27 08:10:50 +01:00
Zlatin Balevsky
3e02161b7d add top-level sendPing method to connections 2018-07-27 07:43:59 +01:00
Zlatin Balevsky
70cc2528c4 return successful peers in rejection suggestion 2018-07-27 00:11:11 +01:00
Zlatin Balevsky
9bd40b01de count successes for hosts, add method to retrieve only successful hosts 2018-07-27 00:06:29 +01:00
Zlatin Balevsky
6380af7d12 skeleton of connection implementation 2018-07-26 23:13:23 +01:00
Zlatin Balevsky
b2796a3d40 logic in connection managers to check if already connected. Prevent infinite connect loop. Fix Connction constructors 2018-07-26 19:03:13 +01:00
Zlatin Balevsky
7c0f5b4e88 outgoing connections are never to leafs 2018-07-26 18:43:09 +01:00
Zlatin Balevsky
3b616b8947 toString() methods in some events 2018-07-26 18:40:08 +01:00
Zlatin Balevsky
351edcb20e make connection events carry leaf status information 2018-07-26 18:11:08 +01:00
Zlatin Balevsky
063357120c only connect to hosts not already in progress 2018-07-26 12:44:53 +01:00
Zlatin Balevsky
e62bceda29 wire connector and acceptor together 2018-07-26 12:39:02 +01:00
Zlatin Balevsky
90a1fa6a0d implement hooks into i2p streaming lib 2018-07-26 12:20:17 +01:00
Zlatin Balevsky
92e5cc87ef more unit tests 2018-07-26 09:38:21 +01:00
Zlatin Balevsky
37909d5193 acceptor test 2018-07-26 09:16:32 +01:00
Zlatin Balevsky
977b273656 implement rejection suggestions 2018-07-26 08:29:05 +01:00
Zlatin Balevsky
520d04cba4 wip on acceptor 2018-07-26 03:57:53 +01:00
Zlatin Balevsky
511c68a203 skeleton of connection acceptor 2018-07-26 03:06:59 +01:00