Seva
d50aae0751
dhtproxy: cleanup
2019-08-14 03:58:15 -04:00
Seva
1a79ae45e4
dhtproxy: fix server termination & use https tests
2019-08-14 03:41:32 -04:00
Seva
f018610ec9
http: fix ssl rfc2818 verif. due to self-signed cert.
2019-08-13 23:16:44 -04:00
Seva
144e254c40
build: add flag for http_parser fork
2019-08-13 17:17:32 -04:00
Seva
b3a7bdd880
cppflags: rm OPENDHT_PROXY_OPENSSL last occurences
2019-08-13 16:25:33 -04:00
Seva
a797ea9171
dhtproxy: create http & https server instances
2019-08-13 16:21:19 -04:00
Seva
86429aa360
http: support all connections contd.
2019-08-13 13:45:10 -04:00
Seva
fbea6afe5d
http: support all connections idependent of build system
2019-08-13 10:23:15 -04:00
Seva
8bc43b4e47
dhtproxy: propagate server identity certicate to client
2019-08-12 15:11:37 -04:00
Seva
25f3000a78
http: verify peer only if certificate provided
2019-08-12 14:27:59 -04:00
Seva
96992b803c
dhtproxy: implement https in server
2019-08-10 15:34:36 -04:00
Seva
500ae6ef54
http: handle asio cancel delays
2019-08-10 15:34:02 -04:00
Seva
b01d3cfca5
dhtproxy: add identity to constructor if openssl
2019-08-07 11:57:18 -04:00
Seva
49f6dd3c9c
http: implement secure connection
...
cmake: use provided findopenssl module
2019-08-07 10:35:47 -04:00
Seva
4054ec6af0
opendht: add ssl to build system
...
http: enforce ssl everywhere
2019-08-05 11:09:18 -04:00
Adrien Béraud
25c9375d95
dhtrunner: add bootstrap method with single arg. host:service
2019-08-02 19:41:42 -04:00
Adrien Béraud
84a9d899d5
dhtrunner: migrate to SockAddr, use default port if not set
2019-08-02 14:42:26 -04:00
Seva
2954158bba
http: handle all content-length cases
2019-08-01 13:44:14 -04:00
Seva
3382195760
http: refactor response funcs to handle mtu
2019-08-01 00:43:37 -04:00
Seva
b67149c98c
http: implement final api changes
2019-07-30 11:44:14 -04:00
Seva
f34cb6440f
http: add comments & log errors on end
2019-07-30 10:14:53 -04:00
Seva
49a132a54b
http: fix request termination
2019-07-29 12:51:23 -04:00
Seva
5465b08d76
dhtproxy: attempt to connect to an ipv4/ipv6 pair
2019-07-27 00:20:08 -04:00
Seva
a8e24e505d
dhtproxy: design clean persistent destruction
...
http: terminate with eof on_message_complete parser cb
2019-07-26 11:56:36 -04:00
Seva
5c0a8986a7
dhtproxy: fix listener destruction thus, restart
2019-07-26 09:57:00 -04:00
Seva
de9e0906de
http: merge on_message_complete into on_state_change callback
2019-07-25 20:09:59 -04:00
Seva
5812b24d56
http: transform client into request
2019-07-24 15:59:22 -04:00
Seva
e7b03e4d53
dhtproxy: unify client destruction & shutdown with stop()
2019-07-16 15:46:13 -04:00
Seva
baf43d96ff
dhtproxy: encapsulate server expire handlers
2019-07-16 15:12:38 -04:00
Seva
630112601c
dhtproxy: fix client connectivity change
...
add handle resubscribe
ignore operation aborted signals
2019-07-16 12:48:29 -04:00
Seva
9c1e55279c
dhtproxy: fix refresh permanent put timer
2019-07-15 13:29:21 -04:00
Adrien Béraud
593d024f51
proxy client: fix cancelListen, add locks
2019-07-15 11:35:01 -04:00
Seva
a6e57d95d6
dhtproxy: fix cancelListen & rm duplicated logging
2019-07-12 15:59:51 -04:00
Seva
9c106f9efe
http: make connection data unique & fix init warn
2019-07-11 10:26:51 -04:00
Seva
ac63527e0b
http: split header & body processing
...
this allow to handle a case when an incomplete body is attached to a
header to forward it to the body processing for full recovery.
2019-07-08 16:46:49 -04:00
Seva
d04a741d5e
http: better error handling
...
use async::connect instead of manually
2019-07-05 18:44:10 -04:00
Seva
ac2b7deda8
http: add set_connection_timeout
2019-07-03 17:03:53 -04:00
Seva
2daf36c97e
Merge branch 'master' into proxy_restinio
2019-07-03 14:07:35 -04:00
Seva
2a2555f0c2
dhtproxy: fix type nomenclature & compile warnings
2019-07-03 12:10:49 -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
b64820af59
proxy client: remove unneeded filter
...
Filters are applied at the SearchCache level
2019-07-01 00:34:05 -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
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
Adrien Béraud
feb498305f
network engine: convert mapped IPv4
2019-06-22 18:37:58 -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
Adrien Béraud
d438d4ef1b
sockaddr: add getMappedIPv6
2019-06-21 11:00:48 -04:00
Seva
4a26168248
dhtproxy: ensure client http processing keeps running
2019-06-20 16:13:01 -04:00