Commit Graph

  • ac2b7deda8 http: add set_connection_timeout Seva 2019-07-03 17:03:53 -04:00
  • c8b08b5ed1 dhtproxy: fix client stop by cancelling io_context Seva 2019-07-03 14:30:10 -04:00
  • f556987e47 http: handle unavailable server Seva 2019-07-03 14:23:49 -04:00
  • 2daf36c97e Merge branch 'master' into proxy_restinio Seva 2019-07-03 13:53:26 -04:00
  • 2a2555f0c2 dhtproxy: fix type nomenclature & compile warnings Seva 2019-07-03 12:10:49 -04:00
  • bdfb0148e4 dhtproxy: use legacy listen route in client Seva 2019-07-03 11:27:51 -04:00
  • 01be4d2eb8 dhtproxy: enhance new api routes Seva 2019-07-03 11:01:32 -04:00
  • 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 Seva 2019-07-01 19:31:16 -04:00
  • a8718242cd net: fix build on MSVC2017 Adrien Béraud 2019-07-02 14:51:28 -04:00
  • 297a23fb1f dhtrunner: run shutdown on op queue 1.10.0 Adrien Béraud 2019-06-26 16:36:59 -04:00
  • 0d641161e8 dhtrunner: fix minor warning Adrien Béraud 2019-07-01 23:22:00 -04:00
  • 27b3c0d47e dhtrunner: add appropriate lock to setProxyServer Adrien Béraud 2019-07-01 23:20:03 -04:00
  • 149b33ef57 dht: simplify error message to avoid use-after-move 1.10.0rc4 Adrien Béraud 2019-07-01 15:06:53 -04:00
  • 150e62de0b sockaddr: fix npe if address is not set Adrien Béraud 2019-07-01 14:08:41 -04:00
  • 89bdfce840 dhtrunner: add proper locks for push notification Adrien Béraud 2019-07-01 12:10:51 -04:00
  • bce41ecd69 proxy client: fix build with push notifications 1.10.0rc3 Adrien Béraud 2019-07-01 01:12:21 -04:00
  • 4374d206ab op_cache: simplify addListener 1.10.0rc2 Adrien Béraud 2019-07-01 00:27:48 -04:00
  • b64820af59 proxy client: remove unneeded filter Adrien Béraud 2019-07-01 00:33:53 -04:00
  • 0e509318bb build: only build http with proxy Adrien Béraud 2019-06-28 13:32:24 -04:00
  • bcc2baa94a http: ensure http_parser on_message_complete cb is always called Seva 2019-06-28 15:28:12 -04:00
  • bbed9d530d http: remove unnecessary resolve iteration log Seva 2019-06-28 14:49:37 -04:00
  • 5a3612be98 dhtproxy: default client port to 80 Seva 2019-06-28 14:11:48 -04:00
  • 8202c1f7d7 http: add default port to 80 Seva 2019-06-28 13:55:36 -04:00
  • cff4f670e7 build: only build http with proxy pulls/1772757862/403 Adrien Béraud 2019-06-28 13:32:24 -04:00
  • a200b0e14c http: open client to public api Seva 2019-06-27 09:48:33 -04:00
  • 2eec17fd8d dhtproxy: replace restbed by restinio & asio Adrien Béraud 2019-06-26 16:38:05 -04:00
  • bd32edc6c5 dhtproxy: uniform client logging Seva 2019-06-25 17:04:38 -04:00
  • d0d3ef7394 http: don't process resps & reqs on closed conn Seva 2019-06-25 16:49:48 -04:00
  • 712da15ae2 readme: change optional restbed mention to restinio Seva 2019-06-25 16:08:19 -04:00
  • fcdc997d29 cmake: fix undefined ref to pthreads for dhtnode Seva 2019-06-25 15:45:12 -04:00
  • cf18effebb dhtnode: fix logging Seva 2019-06-25 15:21:49 -04:00
  • b8c2ff8a11 dhtproxy: cleanup client handle proxy status Seva 2019-06-25 14:35:04 -04:00
  • 1fad1b9ce3 dhtrunner: use user logger with proxy client Seva 2019-06-25 13:37:45 -04:00
  • 117fedb641 dhtproxy: test with http client lib everything Seva 2019-06-25 13:36:14 -04:00
  • 422f5a6c45 dhtproxy: use one io_context, rm scheduler, fix get,proxyInfo Seva 2019-06-25 13:35:26 -04:00
  • 51a42aa2c8 dhtproxy: fix inconsistencies & add comments Seva 2019-06-25 10:16:40 -04:00
  • be0baefee8 net: recompute selectFd in case of rebind Adrien Béraud 2019-06-22 22:51:56 -04:00
  • 2ac5157ab8 net: attempt to use the same port for IPv4 and IPv6 if 0 Adrien Béraud 2019-06-22 19:07:05 -04:00
  • fbe8834e04 net: compute selectFd once Adrien Béraud 2019-06-22 18:49:50 -04:00
  • 89ff131750 tools: close stdin on sigint Adrien Béraud 2019-06-21 00:33:49 -04:00
  • feb498305f network engine: convert mapped IPv4 Adrien Béraud 2019-06-21 00:33:12 -04:00
  • b00f56c94a dhtproxy: fix server logging of non c str Seva 2019-06-21 14:41:10 -04:00
  • 2067cb052f dhtproxy: default to curly brakets instead of nullptr Seva 2019-06-21 13:10:33 -04:00
  • 51aeaeaeab dhtproxy: use logger everywhere & use same format Seva 2019-06-21 12:49:47 -04:00
  • c0bb8f065c dhtproxy: ensure client asio timers are initialized Seva 2019-06-21 11:33:51 -04:00
  • 126318956a dhtproxy: fix unintialized refresh timer in listen Seva 2019-06-21 11:13:54 -04:00
  • 9014c0a7bb dhtproxy: log subscribe to debug instead of warning Seva 2019-06-21 11:12:49 -04:00
  • 728782921c dhtproxy: test resubscribe with random port Seva 2019-06-21 11:07:20 -04:00
  • d438d4ef1b sockaddr: add getMappedIPv6 Adrien Béraud 2019-06-21 11:00:48 -04:00
  • 2959709462 dhtproxy: log in client only if logger is defined Seva 2019-06-20 16:44:13 -04:00
  • 4a26168248 dhtproxy: ensure client http processing keeps running Seva 2019-06-20 16:13:01 -04:00
  • 9c348b1df4 dhtproxy: use same client logger Seva 2019-06-20 15:31:43 -04:00
  • 7e7654d1ae dhtproxy: use two io_contexts periodic & http Seva 2019-06-20 14:43:16 -04:00
  • 69ee1d212a http: replace tabs by 4 spaces Seva 2019-06-20 12:30:42 -04:00
  • 21ec9129c3 tools: rename proxy benchmark to loadtester Seva 2019-06-20 12:24:44 -04:00
  • b7185fa87c dhtproxy: rewrite client restartListeners & save listener connId Seva 2019-06-20 12:14:27 -04:00
  • 54acd67a1f dhtproxy: rewrite client cancelAllListeners with RESTinio Seva 2019-06-20 11:56:16 -04:00
  • 045de8602c dhtproxy: rewrite client doCancelListen with RESTinio Seva 2019-06-20 11:52:15 -04:00
  • 390fa48700 dhtproxy: replace status thread by asio timer Seva 2019-06-20 11:24:56 -04:00
  • 0d08f0d356 dhtproxy: replace client threads by asio timers Seva 2019-06-19 17:39:57 -04:00
  • 738424b1ae dhtrunner: use default values for config Adrien Béraud 2019-06-19 19:27:37 -04:00
  • d123d8f768 http: remove typo Seva 2019-06-19 12:23:00 -04:00
  • a20a48506d http: fix resolve & externalize conn close Seva 2019-06-19 12:07:46 -04:00
  • 063a2b4860 http: make conn async & resolve hostnames Seva 2019-06-19 11:34:50 -04:00
  • 829d365475 http: detect & handle close connection Seva 2019-06-19 10:24:51 -04:00
  • 11e6671e60 Merge branch 'proxy_asio_client' into proxy_restinio Seva 2019-06-18 23:24:28 -04:00
  • 6fe473d3cc http: fragment client into async operations Seva 2019-06-18 23:17:49 -04:00
  • 9f493b9572 http: make continious reads non blocking Seva 2019-06-18 12:31:53 -04:00
  • 2164c5ddc7 dhtproxy: add control for max_pipelined_requests Seva 2019-06-18 14:56:26 -04:00
  • a57a4d55e8 dhtproxy: optimize for concurency Seva 2019-06-18 13:55:26 -04:00
  • b98cc78b42 dhtproxy: add if logger before using it Seva 2019-06-18 10:17:21 -04:00
  • 789d41ff07 dhtproxy: fix join on terminated thread Seva 2019-06-17 16:42:12 -04:00
  • 632403875c dhtproxy: switch entirely to one thread Seva 2019-06-17 16:27:39 -04:00
  • bc2737cdc9 dhtproxy: move resp msgs to cpp file as constexpr Seva 2019-06-17 15:29:25 -04:00
  • 0c6bfde1c5 docker: cp restinio deps build files to system path Seva 2019-06-17 15:13:32 -04:00
  • cfeeaf7950 tools: add listen & subscribe to proxy_benchmark Seva 2019-06-17 13:57:46 -04:00
  • e31ebfea32 docker: finalize restinio conan setup Seva 2019-06-17 13:04:27 -04:00
  • 07efe8c76e tools: add locust proxy_benchmark.py Seva 2019-06-17 11:46:29 -04:00
  • 5c78bf386d docker: update restinio run commands Seva 2019-06-16 22:04:05 -04:00
  • 86088b043b thread pool: getShared returns shared_future instead of shared_ptr<future> Adrien Béraud 2019-06-14 13:06:06 -04:00
  • fad8bb1631 dhtrunner: change context logger from unique to shared ptr Seva 2019-06-14 11:46:13 -04:00
  • 9a56c099a1 docker: rename pip unknown cmd to pip3 & remove comments Seva 2019-06-14 10:23:59 -04:00
  • 8298c0c868 docker: add restinio & conan depsllvm Seva 2019-06-13 18:44:23 -04:00
  • 971f590941 Merge branch 'master' github.com:savoirfairelinux/opendht into proxy_restinio Seva 2019-06-13 17:17:34 -04:00
  • 1813d83273 docker: add restinio & conan dependency Seva 2019-06-13 16:04:14 -04:00
  • e87d164f0b dhtproxy: refactor client to use external io_context Seva 2019-06-13 13:24:44 -04:00
  • b9604807ea dhtproxy: replace threads by io_context replace scheduler and its jobs by asio timers Seva 2019-06-12 16:36:18 -04:00
  • 9f12b44179 dhtproxy: move custom methods to http & default thread pool to 1 Seva 2019-06-11 16:30:42 -04:00
  • 0772d5435c dhtproxy: replace listener thread with a conn state observer Seva 2019-06-11 15:36:30 -04:00
  • 368ee9e22e dhtproxy: ensure io_context thread pool & isolate settings Seva 2019-06-11 11:31:43 -04:00
  • dd56bdd8e2 dhtproxy: add conn listener & make http services singletons Seva 2019-06-10 17:08:37 -04:00
  • 71b36e0643 dhtproxy: set logger in sendPushNotification Seva 2019-06-10 14:16:18 -04:00
  • 61b43759df dhtproxy: set required timeout times Seva 2019-06-10 10:12:08 -04:00
  • 96e12e88c3 dhtproxytester: add more checks, cleanup Adrien Béraud 2019-06-09 23:34:38 -04:00
  • 8da933c01a dhtrunner: use threaded mode by default Adrien Béraud 2019-06-09 23:31:40 -04:00
  • 20c0069867 dhtrunner/peerdiscovery: only advertise bound address families Adrien Béraud 2019-06-09 23:15:31 -04:00
  • 8942e0d00e dht: init parent class with logger Adrien Béraud 2019-06-08 13:00:31 -04:00
  • bc760f9348 Update README.md Adrien Béraud 2019-06-08 16:27:34 -04:00
  • 59702190a7 update to version 1.10.0 1.10.0rc1 Adrien Béraud 2019-06-09 09:06:36 -04:00
  • cb3e94d0be dhtnode: improve manpage Adrien Béraud 2019-06-08 13:28:52 -04:00