Seva
460205eb78
http: terminate connection with eof
2019-07-25 21:56:26 -04:00
Seva
de9e0906de
http: merge on_message_complete into on_state_change callback
2019-07-25 20:09:59 -04:00
Seva
f837c13e31
http: fragment request header & body read/parse
2019-07-24 23:56:32 -04:00
Seva
5812b24d56
http: transform client into request
2019-07-24 15:59:22 -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
17ff4c0224
http: one line init of conn context
2019-07-09 14:17:17 -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
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
f556987e47
http: handle unavailable server
2019-07-03 14:23:49 -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
Seva
bcc2baa94a
http: ensure http_parser on_message_complete cb is always called
2019-06-28 15:28:12 -04:00
Seva
bbed9d530d
http: remove unnecessary resolve iteration log
2019-06-28 14:49:37 -04:00
Seva
d0d3ef7394
http: don't process resps & reqs on closed conn
2019-06-25 16:49:48 -04:00
Seva
51aeaeaeab
dhtproxy: use logger everywhere & use same format
2019-06-21 12:49:47 -04:00
Seva
0d08f0d356
dhtproxy: replace client threads by asio timers
2019-06-20 11:23:38 -04:00
Seva
a20a48506d
http: fix resolve & externalize conn close
2019-06-19 12:07:46 -04:00
Seva
063a2b4860
http: make conn async & resolve hostnames
2019-06-19 11:34:50 -04:00
Seva
829d365475
http: detect & handle close connection
2019-06-19 10:24:51 -04:00
Seva
6fe473d3cc
http: fragment client into async operations
2019-06-18 23:17:49 -04:00
Seva
9f493b9572
http: make continious reads non blocking
2019-06-18 16:55:52 -04:00
Seva
b98cc78b42
dhtproxy: add if logger before using it
2019-06-18 10:17:21 -04:00
Seva
e87d164f0b
dhtproxy: refactor client to use external io_context
2019-06-13 13:24:44 -04:00
Seva
0772d5435c
dhtproxy: replace listener thread with a conn state observer
2019-06-11 15:37:47 -04:00
Seva
368ee9e22e
dhtproxy: ensure io_context thread pool & isolate settings
2019-06-11 11:31:43 -04:00
Seva
dd56bdd8e2
dhtproxy: add conn listener & make http services singletons
2019-06-10 17:08:37 -04:00
Seva
1060038bdf
dhtproxy: write into dht logger
2019-06-07 16:46:28 -04:00
Seva
9d427a6a80
http: add optional client conn controls
2019-06-07 15:46:21 -04:00
Seva
f8d62dc6a7
dhtproxy: add support for legacy http methods
...
Legacy non-standard http methods: LISTEN, STATS, SIGN, ECNRYPT
NOTE: Supported with RESTinio > 0.5.0 and custom http_parser
- https://github.com/Stiffstream/restinio/issues/26
- https://github.com/binarytrails/http-parser
2019-06-06 13:30:37 -04:00
Seva
0a3320e2c8
dhtproxy: enhance http async api & finish client get
2019-06-04 16:14:37 -04:00
Seva
10971f700f
dhtproxy: add http classes with fully async client
...
use server's pushNotifications of this client
2019-06-03 17:10:19 -04:00