Adrien Béraud
e8d96d3b42
c wrapper: add support for permanent put
2019-10-21 14:04:12 -04:00
Adrien Béraud
c92d236c1b
c wrapper: handle null string in config
2019-10-21 12:37:36 -04:00
Adrien Béraud
b680407e9a
c wrapper: add callback to free listen context data
2019-10-21 11:08:42 -04:00
Seva
6caf4b0d0b
http: ensure no data is lost in read_bytes
2019-10-18 15:44:26 -04:00
Seva
7f65fdc7f9
http: try to read full content-length after headers
2019-10-18 10:45:34 -04:00
Adrien Béraud
b00dfdf572
c wrapper: reverse is_zero value
2019-10-17 10:29:37 -04:00
Adrien Béraud
2b1d2fc3f6
c wrapper: use shared_ptr for dht_privatekey
2019-10-16 17:23:04 -04:00
Adrien Béraud
a0566cf695
dhtchat: cancel listen on channel disconnect
2019-10-16 16:18:38 -04:00
Adrien Béraud
a3f2b055a1
c wrapper: don't build by default
2019-10-16 16:17:09 -04:00
Adrien Béraud
01bf8f9303
c wrapper: add dht_infohash_get
2019-10-16 15:07:31 -04:00
Adrien Béraud
22741436e3
python: add wrapper for ValueCallback
2019-10-16 15:02:58 -04:00
Adrien Béraud
d958b0ea5f
c wrapper: add dht_privatekey_delete, handle import failure
2019-10-16 14:40:24 -04:00
Adrien Béraud
6c96a47f13
c wrapper: update dhtcnode, add dht_op_token_delete
2019-10-16 14:27:54 -04:00
Adrien Béraud
15403c0f6e
c wrapper: add dht_runner_put
2019-10-16 14:02:51 -04:00
Adrien Béraud
0eee567c4e
c wrapper: add support to create, ref/unref dht_value
2019-10-16 13:57:31 -04:00
Adrien Béraud
e8843076d9
c wrapper: install library
2019-10-16 13:18:39 -04:00
Adrien Béraud
3a6ce2f499
c wrapper: add initial dht_privatekey support
2019-10-16 13:09:59 -04:00
Adrien Béraud
299e632795
c wrapper: clarify memory management
2019-10-16 12:56:06 -04:00
Adrien Béraud
12aee01ffe
c wrapper: add pkg-config file
2019-10-16 12:26:36 -04:00
Adrien Béraud
83c5014a36
c wrapper: add dht_runner_listen
2019-10-16 12:19:42 -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
ab7f36ff85
https: use identity's certificate chain
2019-10-15 14:34:50 -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
Seva
104a9e3b28
http: fix target's missing query
2019-10-10 14:24:51 -04:00
Seva
d77c868c55
http: close connection if server requests
2019-10-07 15:02:08 -04:00
Adrien Béraud
347f404a92
dhtchat: respect new arguments
2019-10-07 12:11:46 -04:00
Adrien Béraud
ed1b0220e5
dhtnode: always load node certificate
2019-10-07 11:06:38 -04:00
seva
739f4d0c0d
Merge pull request #448 from AmarOk1412/fix/resubscribe
...
proxy_client: reset correct opstate
2019-10-01 11:47:13 -04:00
Sébastien Blin
8ec0ab0ae4
proxy_client: reset correct opstate
...
opstate is captured by value in callbacks. So reset(new OpState())
will only reset the new one and previously captured will be stopped
forever.
2019-10-01 11:30:32 -04:00
Seva
55c56a5203
http: avoid creating a field in map on new key
2019-09-30 14:28:46 -04:00
Seva
7558444ae0
http: implement chunked transfer-encoding
2019-09-30 14:28:46 -04:00
Adrien Béraud
9bc2ceca68
dhtrunner: use new push_token config option
2019-09-30 10:52:50 -04:00
Seva
ac10afac44
dhtproxy: test put/get mtu with 40k chars
2019-09-30 10:21:35 -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
MingRui Zhang
6f87e9dbc3
Merge pull request #444 from binarytrails/http_fixes
...
http: fix parser reset racing condition
2019-09-23 15:19:26 -04:00
Seva
223260bc7d
http: remove parser reset
2019-09-23 13:24:53 -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
Sébastien Blin
f9ffb8650a
dht_proxy_client: listener should not be stopped here
...
Moreover, when it's a subscribe, because the subscribe is direct
2019-09-19 13:54:52 -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
77356b0539
dhtnode: restore gen identity ifndef proxy server
2019-09-18 15:02:21 -04:00
Seva
c7d633e609
dhtnode: separate proxy privkey, cert & pwd arguments
2019-09-18 15:02:21 -04:00