Seva
bdfb0148e4
dhtproxy: use legacy listen route in client
2019-07-03 11:27:51 -04:00
Seva
01be4d2eb8
dhtproxy: enhance new api routes
2019-07-03 11:01:32 -04:00
Seva
93f7251805
http: segment resolving & connection from request
...
set connection id to unsigned int
use service string instead of int port
segment connection from request
save endpoint associated with a conn
add Connection is_v6 ip method
propagate resolve errors
2019-07-03 10:30:33 -04:00
Seva
bcc2baa94a
http: ensure http_parser on_message_complete cb is always called
2019-06-28 15:28:12 -04:00
Seva
bbed9d530d
http: remove unnecessary resolve iteration log
2019-06-28 14:49:37 -04:00
Seva
5a3612be98
dhtproxy: default client port to 80
2019-06-28 14:32:24 -04:00
Seva
bd32edc6c5
dhtproxy: uniform client logging
2019-06-25 17:04:38 -04:00
Seva
d0d3ef7394
http: don't process resps & reqs on closed conn
2019-06-25 16:49:48 -04:00
Seva
b8c2ff8a11
dhtproxy: cleanup client handle proxy status
2019-06-25 14:35:04 -04:00
Seva
1fad1b9ce3
dhtrunner: use user logger with proxy client
2019-06-25 13:37:45 -04:00
Seva
422f5a6c45
dhtproxy: use one io_context, rm scheduler, fix get,proxyInfo
2019-06-25 13:35:26 -04:00
Seva
51a42aa2c8
dhtproxy: fix inconsistencies & add comments
2019-06-25 10:16:40 -04:00
Seva
b00f56c94a
dhtproxy: fix server logging of non c str
2019-06-21 14:41:10 -04:00
Seva
51aeaeaeab
dhtproxy: use logger everywhere & use same format
2019-06-21 12:49:47 -04:00
Seva
c0bb8f065c
dhtproxy: ensure client asio timers are initialized
2019-06-21 11:33:51 -04:00
Seva
126318956a
dhtproxy: fix unintialized refresh timer in listen
2019-06-21 11:13:54 -04:00
Seva
9014c0a7bb
dhtproxy: log subscribe to debug instead of warning
2019-06-21 11:12:49 -04:00
Seva
2959709462
dhtproxy: log in client only if logger is defined
2019-06-20 16:44:13 -04:00
Seva
4a26168248
dhtproxy: ensure client http processing keeps running
2019-06-20 16:13:01 -04:00
Seva
9c348b1df4
dhtproxy: use same client logger
2019-06-20 15:31:43 -04:00
Seva
7e7654d1ae
dhtproxy: use two io_contexts periodic & http
2019-06-20 14:43:16 -04:00
Seva
b7185fa87c
dhtproxy: rewrite client restartListeners & save listener connId
2019-06-20 12:14:27 -04:00
Seva
54acd67a1f
dhtproxy: rewrite client cancelAllListeners with RESTinio
2019-06-20 11:56:16 -04:00
Seva
045de8602c
dhtproxy: rewrite client doCancelListen with RESTinio
2019-06-20 11:52:15 -04:00
Seva
390fa48700
dhtproxy: replace status thread by asio timer
2019-06-20 11:24:56 -04:00
Seva
0d08f0d356
dhtproxy: replace client threads by asio timers
2019-06-20 11:23:38 -04:00
Seva
a20a48506d
http: fix resolve & externalize conn close
2019-06-19 12:07:46 -04:00
Seva
063a2b4860
http: make conn async & resolve hostnames
2019-06-19 11:34:50 -04:00
Seva
829d365475
http: detect & handle close connection
2019-06-19 10:24:51 -04:00
Seva
11e6671e60
Merge branch 'proxy_asio_client' into proxy_restinio
2019-06-18 23:27:51 -04:00
Seva
6fe473d3cc
http: fragment client into async operations
2019-06-18 23:17:49 -04:00
Seva
9f493b9572
http: make continious reads non blocking
2019-06-18 16:55:52 -04:00
Seva
2164c5ddc7
dhtproxy: add control for max_pipelined_requests
2019-06-18 14:57:17 -04:00
Seva
a57a4d55e8
dhtproxy: optimize for concurency
2019-06-18 14:13:42 -04:00
Seva
b98cc78b42
dhtproxy: add if logger before using it
2019-06-18 10:17:21 -04:00
Seva
789d41ff07
dhtproxy: fix join on terminated thread
2019-06-17 16:42:12 -04:00
Seva
632403875c
dhtproxy: switch entirely to one thread
2019-06-17 16:27:39 -04:00
Seva
bc2737cdc9
dhtproxy: move resp msgs to cpp file as constexpr
2019-06-17 15:29:25 -04:00
Seva
971f590941
Merge branch 'master' github.com:savoirfairelinux/opendht into proxy_restinio
2019-06-13 17:19:49 -04:00
Seva
e87d164f0b
dhtproxy: refactor client to use external io_context
2019-06-13 13:24:44 -04:00
Seva
b9604807ea
dhtproxy: replace threads by io_context
...
replace scheduler and its jobs by asio timers
2019-06-13 11:13:48 -04:00
Seva
9f12b44179
dhtproxy: move custom methods to http & default thread pool to 1
2019-06-11 16:30:42 -04:00
Seva
0772d5435c
dhtproxy: replace listener thread with a conn state observer
2019-06-11 15:37:47 -04:00
Seva
368ee9e22e
dhtproxy: ensure io_context thread pool & isolate settings
2019-06-11 11:31:43 -04:00
Seva
dd56bdd8e2
dhtproxy: add conn listener & make http services singletons
2019-06-10 17:08:37 -04:00
Seva
71b36e0643
dhtproxy: set logger in sendPushNotification
2019-06-10 14:16:18 -04:00
Seva
61b43759df
dhtproxy: set required timeout times
2019-06-10 10:12:08 -04:00
Adrien Béraud
20c0069867
dhtrunner/peerdiscovery: only advertise bound address families
2019-06-09 23:15:31 -04:00
Adrien Béraud
8942e0d00e
dht: init parent class with logger
2019-06-09 19:07:04 -04:00
Adrien Béraud
6e5231047b
dhtrunnner: properly lock mutex in run & join
2019-06-08 10:20:25 -04:00