Adrien Béraud
620ba2a89b
proxy server: fix warning
2019-12-01 21:01:42 -05:00
Adrien Béraud
d1598380db
proxy server: fix build without push notifications
2019-12-01 21:00:27 -05:00
Adrien Béraud
69fe399db0
proxy server: cancelListen on destroy
2019-12-01 20:54:48 -05:00
Adrien Béraud
8ff0c979d4
proxy server: cleanup
2019-11-30 20:36:20 -05:00
Adrien Béraud
dab7099369
proxy server: cleanup
2019-11-28 22:16:22 -05:00
Adrien Béraud
7ed6f74e6b
proxy_server: add mutex to protect requests
2019-11-26 12:24:28 -05:00
Adrien Béraud
18793cee3b
proxy server: close listener on connection close only
2019-11-01 10:37:19 -04: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
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
166b5e352c
proxyserver: default push to localhost if empty host
2019-09-18 16:15:53 -04:00
Adrien Béraud
6c4af9bfea
proxy server: fix warnings
2019-08-30 01:06:50 -04:00
Seva
70c92d6cea
http: replace service by url
2019-08-30 00:13:15 -04:00
Seva
baa9fcf820
dhtproxy: disable renegotiation only if supported
2019-08-26 12:06:07 -04:00
Adrien Béraud
9575f84081
header cleanup
2019-08-22 15:39:15 -04:00
Adrien Béraud
0b0442bd02
proxy server: remove unneeded move
2019-08-21 13:22:36 -04:00
Seva
d214bfebf5
dhtproxy: patch client renegotiation
2019-08-20 10:45:05 -04:00
Seva
4a8397d71b
dhtproxy: fix indirect memleaks from rest router traits
2019-08-16 10:18:36 -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
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
144e254c40
build: add flag for http_parser fork
2019-08-13 17:17:32 -04:00
Seva
6cc84312aa
dhtproxy: run tests in http
2019-08-13 16:55:42 -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
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
b01d3cfca5
dhtproxy: add identity to constructor if openssl
2019-08-07 11:57:18 -04:00
Seva
7ea40c292b
dhtproxy: fix indirect mem leak caused by 208758e
2019-08-02 10:19:06 -04:00
Seva
b67149c98c
http: implement final api changes
2019-07-30 11:44:14 -04:00
Seva
208758ede3
dhtproxy: remove implicit std::move on a router return
2019-07-25 21:17:41 -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
baf43d96ff
dhtproxy: encapsulate server expire handlers
2019-07-16 15:12:38 -04:00
Seva
0f9df9a62b
dhtproxy: fix server send push notif underflow
2019-07-16 13:04:37 -04:00
Seva
a6e57d95d6
dhtproxy: fix cancelListen & rm duplicated logging
2019-07-12 15:59:51 -04:00
Seva
846f495202
dhtproxy: fix indirect mem leak in create router
2019-07-11 11:06:36 -04:00
Seva
6f603bfc0a
dhtproxy: fix options route
2019-07-11 10:46:33 -04:00
Seva
9c106f9efe
http: make connection data unique & fix init warn
2019-07-11 10:26:51 -04:00
Seva
477ff59e91
dhtproxy: enhance error handling & msg for push
2019-07-09 10:20:39 -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
4b3d8d1231
dhtproxy: move operations into async_connect handler
2019-07-06 12:25:14 -04:00
Seva
2a2555f0c2
dhtproxy: fix type nomenclature & compile warnings
2019-07-03 12:10:49 -04:00
Seva
01be4d2eb8
dhtproxy: enhance new api routes
2019-07-03 11:01:32 -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