Linas Vepstas
c0f14ca59d
Fix duplicated, non-functional log message.
...
Inside the if-statement, the log message will always print zero.
Confusingly, its the same message as the one in the loop above it.
Make the message distinct.
2019-12-07 22:28:35 -05:00
Adrien Béraud
259986e786
network engine: don't throw in case of unknown transaction
2019-12-01 14:52:21 -05:00
Adrien Béraud
9daa7ec283
dhtrunner: default peer request rate to global/8
2019-11-11 12:58:11 -05:00
Adrien Béraud
cb7d7f6614
dht: allow to configure rate limiter
2019-11-07 16:43:04 -05:00
Adrien Béraud
f710df9675
proxy: cleanup
2019-10-31 13:44:05 -04:00
Adrien Béraud
4b061d0886
dht: cleanup
2019-08-02 19:58:43 -04:00
Adrien Béraud
84a9d899d5
dhtrunner: migrate to SockAddr, use default port if not set
2019-08-02 14:42:26 -04:00
Adrien Béraud
149b33ef57
dht: simplify error message to avoid use-after-move
2019-07-01 15:07:10 -04:00
Adrien Béraud
feb498305f
network engine: convert mapped IPv4
2019-06-22 18:37:58 -04:00
Adrien Béraud
8942e0d00e
dht: init parent class with logger
2019-06-09 19:07:04 -04:00
Adrien Béraud
120c017399
net: add DatagramSocket, UdpSocket transport
2019-06-07 14:14:15 -04:00
Adrien Béraud
e4516772ee
dht: log cleanup
2019-05-22 11:20:27 -04:00
Adrien Béraud
c7e2483160
dht: add logger to constructor
2019-05-22 00:47:25 -04:00
Adrien Béraud
e86d717e81
dht: make getPut() const
2019-04-05 10:49:35 -04:00
Adrien Béraud
4401e47002
cleanup, fix clang-tidy warnings
2019-03-17 17:43:52 -04:00
Adrien Béraud
215b44ca3b
search: don't store filter in search
...
Filter is not supported anymore at the search listen stage.
Filters are now stored and called by the op cache.
2019-03-17 17:30:30 -04:00
Adrien Béraud
f418b3651f
update copyright date
2019-03-16 12:37:23 -04:00
Adrien Béraud
313f54c840
dht: disable some verbose logs
2019-03-10 17:27:37 -04:00
Adrien Béraud
cdb721ade4
dht: move store logic to storage
2019-03-10 17:04:26 -04:00
Adrien Béraud
04850e1701
dht: add configuration to persist state
2019-03-10 16:39:16 -04:00
Adrien Béraud
a30f1b8032
dht: make exportNodes const
2019-03-10 16:39:16 -04:00
Adrien Béraud
ba2e179abe
dht: optimize get
2019-02-19 01:59:59 -05:00
Adrien Béraud
35c6a57526
dht: add synced status
2019-02-19 01:59:59 -05:00
Sébastien Blin
e5b56cc0a5
dht: link to tellListenerRefreshed
...
When a permanent put is refreshed, the node has to tell to its
remote listeners that the value is refreshed.
2019-01-09 13:34:51 -08:00
Adrien Béraud
c0e376e15a
dht: reduce log verbosity
2018-12-28 01:41:10 -05:00
Adrien Béraud
6d7f8004bf
connectivity change: reset routing table instead of searches
2018-12-26 10:28:30 -05:00
Adrien Béraud
8168c39b63
dht: cleanup
2018-12-26 01:22:37 -05:00
Adrien Béraud
e6cf67c575
dht: clear local listener if callback returns false
2018-12-24 18:37:06 -05:00
Adrien Béraud
353a6f9db6
op cache: add onCancel callback
2018-12-24 15:41:17 -05:00
Adrien Béraud
7ebad7d3c5
storage: make non-movable
2018-12-24 15:28:03 -05:00
Adrien Béraud
0c1e7d2763
dht: run node confirmation if bucket was empty
2018-12-19 14:07:55 -05:00
Adrien Béraud
14a744f6cd
dht: log cleanup
2018-12-19 14:07:55 -05:00
Adrien Béraud
3b26684a87
network engine: add default values for sendFindNodes
2018-12-19 14:07:55 -05:00
Adrien Béraud
18d359a7d2
dht: refresh value if already exists
2018-11-26 01:57:57 -05:00
Adrien Béraud
c6bb67d1ac
dht: add storageRefresh
2018-11-26 01:57:57 -05:00
Adrien Béraud
00c1be9cdc
logger: use DBG for DEBUG to avoid name conflicts
2018-11-22 15:43:55 -05:00
Adrien Béraud
e414ca89c7
dht: don't send probe query for non permanent puts
2018-11-22 15:43:55 -05:00
Adrien Béraud
522a89b6f8
dht: use search cache for get ops
2018-10-27 11:49:55 -04:00
Adrien Béraud
5112a322de
dht: reschedule permanent put refresh after request
2018-09-19 01:54:54 -04:00
Adrien Béraud
85961c6a62
storage: properly refresh expiration
2018-09-19 01:54:54 -04:00
Adrien Béraud
1eb1f3d5ac
storageStore: add permanent mode
2018-09-19 01:54:54 -04:00
Adrien Béraud
726c138d90
dht: move storageStore to put
2018-09-19 01:54:54 -04:00
Adrien Béraud
1b6b1ca072
comments: fix typos
2018-09-19 01:54:54 -04:00
Adrien Béraud
ffbb9e23ef
dht: show usage at the end, print max store size
2018-06-27 11:54:15 -04:00
Adrien Béraud
2509e8bc5c
Revert "search: use pointer to SearchNode"
...
This reverts commit 3a41f2ce56 .
2018-06-20 14:50:40 -04:00
Adrien Béraud
e349912c07
search: improve canGet performance
2018-06-20 14:50:40 -04:00
Adrien Béraud
3a41f2ce56
search: use pointer to SearchNode
2018-06-12 16:54:12 -04:00
Adrien Béraud
5bd88533fe
SearchNode: refresh token in Query, Listen answers
2018-06-12 16:50:15 -04:00
Adrien Béraud
63db2eafd9
dht: print detailed request state in search log
2018-05-07 17:43:31 -04:00
Adrien Béraud
981bcfc0ba
dht: handle error when sending listen
2018-05-02 14:26:24 -04:00