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
Seva
2576d95aa0
dhtnode: start ssl node only with valid identity
2019-09-18 15:02:21 -04:00
Seva
b31a29ea26
dhtproxy: run in both http & https
2019-09-18 15:02:21 -04:00
Sébastien Blin
833bd069f4
Merge pull request #439 from binarytrails/request_fixes
...
http: end request on 0 body bytes
2019-09-18 12:51:54 -04:00
Seva
39a186c47d
http: end request on 0 body bytes
...
the latter ensures that the request will be terminate even if the
http_parser on_message_complete callback is not called with an old
version of dhtproxy using restbed
2019-09-18 12:16:10 -04:00
Sébastien Blin
c03af5f5a8
dhtrunner: fix context.logger handling
2019-09-18 12:01:24 -04:00
Sébastien Blin
b03a7732e3
Merge pull request #436 from binarytrails/http_expect_100-continue
...
http: handle expect 100-continue on post
2019-09-16 11:32:43 -04:00
Seva
87f6f3df8b
http: fix & test url with https but empty service
2019-09-13 13:50:45 -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
5068de7bc0
http: remove x509 subject name logging in verify cb
2019-09-05 15:24:50 -04:00
Seva
2a5f786f8b
http: handle request error codes through terminate
2019-09-05 15:24:50 -04:00
Seva
c690d060f9
http: fix req cancel racing condition
2019-09-05 15:24:50 -04:00
Adrien Béraud
bcf8ab5404
http: check for null callbacks
2019-09-05 11:23:23 -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
e4dacc64b5
cmake: find library in argon2_LIBRARY_DIRS
2019-08-30 01:34:09 -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
fd7f644531
http: init request target with url one
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
9b8358cdf1
configure: set openssl & fmt flags with pkg_check_modules
2019-08-28 11:03:15 -04:00
Seva
7ae3b3af5b
configure: use cflags,libs,ldflags of openssl
2019-08-28 11:03:15 -04:00
Seva
06d1865446
configure: build with ssl, rm not used cppflag
2019-08-28 11:03:15 -04:00
Seva
83495a94db
dhtproxy: fix client class member redeclaration
2019-08-28 11:03:15 -04:00
Seva
8ee5485767
autotools: fix dhtproxy build
2019-08-28 11:03:15 -04:00