Adrien Béraud
e2d7dbc293
proxy client: declare mutex before protected objects
2019-11-05 16:39:03 -05:00
Adrien Béraud
bc84655f42
proxy server: update for Restinio v.0.6.0.1
2019-10-31 16:00:51 -04:00
Adrien Béraud
f710df9675
proxy: cleanup
2019-10-31 13:44:05 -04:00
Adrien Béraud
e4853bd29c
proxy: use common Json builder
2019-10-30 14:17:42 -04:00
Adrien Béraud
6863800cfb
dhtrunner: allow to cancelPut with value
2019-10-30 11:33:33 -04:00
Adrien Béraud
1f387a0e95
proxy client: resolve again on connectivity change
2019-10-30 11:33:16 -04:00
Adrien Béraud
144fa7ddc8
dhtrunner: allow permanent put for signed/encrypted values
2019-10-28 17:35:19 -04:00
Adrien Béraud
c0e117871e
c wrapper: allow retrieving value owner and recipient
2019-10-28 15:25:31 -04:00
Adrien Béraud
22741436e3
python: add wrapper for ValueCallback
2019-10-16 15:02:58 -04:00
Adrien Béraud
3a6ce2f499
c wrapper: add initial dht_privatekey support
2019-10-16 13:09:59 -04:00
Adrien Béraud
e9377f2eb6
c wrapper: add Blob, PublicKey
2019-10-16 12:01:52 -04:00
Adrien Beraud
083a28f5d8
c wrapper: add wrapper foundations
...
Wrapper can be enabled/disabled with
-DOPENDHT_C=On/Off when configuring the cmake
project.
This commit add foundations for a C wrapper
by building an opendht-c shared library that
wraps dhtrunner (for now only creation/destruction).
It also adds a test executable, dhtcnode, using the
C wrapper library.
2019-10-16 10:57:10 -04:00
Seva
8856a70af5
dhtproxy/http: dont store keys in objects
2019-10-15 14:34:50 -04:00
Seva
f24b6ca3e3
dhtproxy/http: dont store keys in asio::const_buffer
2019-10-15 14:34:50 -04:00
Seva
ccfb76d9b4
http: add client identity & fix CA
2019-10-15 14:34:50 -04:00
Adrien Béraud
9bc2ceca68
dhtrunner: use new push_token config option
2019-09-30 10:52:50 -04:00
Adrien Béraud
128af52ea2
dhtrunner: allow to specify push token in config
2019-09-30 10:20:09 -04:00
Adrien Béraud
8ed2bf50b3
utils: fix printing negative durations
2019-09-30 10:17:41 -04:00
Seva
dcdfeb0415
http: forward declare json in api
2019-09-24 15:49:03 -04:00
Seva
833dc7f5a7
http: refactor constructors & init default headers
2019-09-24 15:49:03 -04:00
Seva
d0510dcb72
http: add send json & unit test
2019-09-24 15:49:03 -04:00
Sébastien Blin
c564810b8c
Merge pull request #441 from atraczyk/master
...
msvc: fix compilation with VS 2019 16.0
2019-09-19 14:30:59 -04:00
Andreas Traczyk
e58fc4ef31
msvc: fix compilation with VS 2019 16.0
...
- <stdexcept> used to be included in <vector>
2019-09-18 16:40:12 -04:00
Seva
7fde8f63a8
peerdiscovery: refactor to camelcase & fix warning
2019-09-18 16:17:39 -04:00
Seva
166b5e352c
proxyserver: default push to localhost if empty host
2019-09-18 16:15:53 -04:00
Seva
7270c353df
http: handle expect 100-continue
...
expose raw request & ignore more self-signed
2019-09-12 11:32:54 -04:00
Seva
63afc8c29a
http: fix resolver destruction race condition
2019-09-09 16:28:26 -04:00
Andreas Traczyk
6a760a629c
msvc: update native windows build to use restinio
2019-09-09 15:24:23 -04:00
Seva
c690d060f9
http: fix req cancel racing condition
2019-09-05 15:24:50 -04:00
Adrien Béraud
f7c8168f99
http: cleanup, remove default port
...
Prevents ambiguous function call when just providing a URL.
2019-08-30 17:34:31 -04:00
Adrien Béraud
c37f0083d3
crypto: add CertificateRequest::toString
2019-08-30 11:26:29 -04:00
Adrien Béraud
29e7768c9d
proxy client: cleanup
2019-08-30 11:26:00 -04:00
Adrien Béraud
72a06b1425
http: add Request::set_auth
2019-08-30 11:24:51 -04:00
Adrien Béraud
20df5fe845
http: cleanup
2019-08-30 01:28:12 -04:00
Adrien Béraud
5b4f40229d
proxy client: cleanup
2019-08-30 01:08:12 -04:00
Adrien Béraud
6c4af9bfea
proxy server: fix warnings
2019-08-30 01:06:50 -04:00
Adrien Béraud
ef26155b19
proxy client: add missing override
2019-08-30 00:35:51 -04:00
Seva
eb2269625f
http: optimize get_url funcs
2019-08-30 00:13:15 -04:00
Seva
70c92d6cea
http: replace service by url
2019-08-30 00:13:15 -04:00
Seva
562bf7124c
http: handle url fragment
2019-08-30 00:13:15 -04:00
Seva
5b344cada7
http: propagate the use of url
2019-08-30 00:13:15 -04:00
Seva
7c4450fdb1
http: add url with tests, handle prefix
2019-08-30 00:13:15 -04:00
Seva
83495a94db
dhtproxy: fix client class member redeclaration
2019-08-28 11:03:15 -04:00
Adrien Béraud
b7b6fb802d
http: header cleanup
2019-08-22 16:51:05 -04:00
Adrien Béraud
9575f84081
header cleanup
2019-08-22 15:39:15 -04:00
Adrien Béraud
624f36467e
proxy: don't use shared_ptr for Identity
2019-08-14 17:30:29 -04:00
Adrien Béraud
561a660693
proxy: header cleanup
2019-08-14 17:19:33 -04:00
Adrien Béraud
414e0a2e60
proxy server: move type traits definition to cpp
2019-08-14 15:51:12 -04:00
Adrien Béraud
e0393ff8ad
Merge pull request #403 from binarytrails/proxy_restinio
...
dhtproxy: replace restbed by restinio & asio
2019-08-14 15:50:14 -04:00
Seva
d50aae0751
dhtproxy: cleanup
2019-08-14 03:58:15 -04:00