Adrien Béraud
e0b6f152f1
proxy client: add LineSplitter
2019-12-07 16:23:08 -05:00
Adrien Béraud
fffee634f1
proxy client: avoid destroying twice
2019-12-05 18:39:39 -05:00
Adrien Béraud
294034f00f
proxy client: don't report connectivity failure for aborted requests
2019-12-03 16:21:33 -05:00
Adrien Béraud
476d0bca4f
proxy client: lock while canceling requests
2019-12-01 14:52:42 -05:00
Adrien Béraud
4a909419e9
http: handle Request lifetime when sharing resolver/connection
2019-11-30 17:21:52 -05:00
Adrien Béraud
cf6d9fd8c2
proxy client: add lock for requests
2019-11-25 15:43:23 -05:00
Adrien Béraud
8a18c591e9
http: initialize connection type, cleanup
2019-11-12 16:45:00 -05:00
Adrien Béraud
e2d7dbc293
proxy client: declare mutex before protected objects
2019-11-05 16:39:03 -05:00
Adrien Béraud
ed642b0337
proxy: check that callback is not null
2019-10-31 14:36:34 -04:00
Adrien Béraud
f710df9675
proxy: cleanup
2019-10-31 13:44:05 -04:00
Adrien Béraud
80f04430c3
proxy client: build resolver if none available
2019-10-30 14:53:07 -04:00
Adrien Béraud
e4853bd29c
proxy: use common Json builder
2019-10-30 14:17:42 -04:00
Adrien Béraud
1f387a0e95
proxy client: resolve again on connectivity change
2019-10-30 11:33:16 -04:00
Seva
ccfb76d9b4
http: add client identity & fix CA
2019-10-15 14:34:50 -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
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
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
29e7768c9d
proxy client: cleanup
2019-08-30 11:26:00 -04:00
Seva
5b344cada7
http: propagate the use of url
2019-08-30 00:13:15 -04:00
Seva
fafe97194a
dhtproxy: reduce & uniformize logs
2019-08-20 10:46:20 -04:00
Adrien Béraud
561a660693
proxy: header cleanup
2019-08-14 17:19:33 -04:00
Seva
119c162f49
dhtproxy: make optional the http_parser fork in client
2019-08-13 20:30:14 -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
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
51aef18885
dhtproxy: fix operation stop in cancelAllListeners
2019-07-29 13:02:25 -04:00
Seva
235c48c400
dhtproxy: fail client ipv4/6 query on operation cancel
2019-07-29 09:40:41 -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
630112601c
dhtproxy: fix client connectivity change
...
add handle resubscribe
ignore operation aborted signals
2019-07-16 12:48:29 -04:00
Seva
b0500af062
dhtproxy: fix client proxy confirmation
2019-07-15 13:47:31 -04:00
Seva
6c985e8fda
dhtproxy: fix restart client listeners
2019-07-15 13:42:10 -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
45a2c6dadb
dhtproxy: sanitized by fixing client memory leaks
2019-07-09 12:21:56 -04:00
Seva
a001e0cafd
dhtproxy: fix client multi-line data in get/listen
2019-07-08 16:47:52 -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
c8b08b5ed1
dhtproxy: fix client stop by cancelling io_context
2019-07-03 14:30:10 -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
bdfb0148e4
dhtproxy: use legacy listen route in client
2019-07-03 11:27:51 -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