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
Adrien Béraud
0e509318bb
build: only build http with proxy
2019-06-28 20:56:22 -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
8202c1f7d7
http: add default port to 80
2019-06-28 13:55:36 -04:00
Seva
a200b0e14c
http: open client to public api
2019-06-27 09:48:33 -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
712da15ae2
readme: change optional restbed mention to restinio
2019-06-25 16:08:19 -04:00
Seva
fcdc997d29
cmake: fix undefined ref to pthreads for dhtnode
2019-06-25 15:45:12 -04:00
Seva
cf18effebb
dhtnode: fix logging
2019-06-25 15:21:49 -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
117fedb641
dhtproxy: test with http client lib everything
2019-06-25 13:36:14 -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
2067cb052f
dhtproxy: default to curly brakets instead of nullptr
2019-06-21 13:10:33 -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
728782921c
dhtproxy: test resubscribe with random port
2019-06-21 11:07:20 -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
69ee1d212a
http: replace tabs by 4 spaces
2019-06-20 12:30:42 -04:00
Seva
21ec9129c3
tools: rename proxy benchmark to loadtester
2019-06-20 12:24:44 -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
d123d8f768
http: remove typo
2019-06-19 12:23:00 -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