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
Seva
223260bc7d
http: remove parser reset
2019-09-23 13:24:53 -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
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
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
72a06b1425
http: add Request::set_auth
2019-08-30 11:24:51 -04:00
Adrien Béraud
20df5fe845
http: cleanup
2019-08-30 01:28:12 -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
e7742489ca
http: ignore rw ops on closed connection
2019-08-27 10:11:04 -04:00
Seva
99fc97f3cf
http: return from async_handshake on op abort
2019-08-27 10:11:04 -04:00
Seva
82d5db81e0
http: let the connection terminate
2019-08-27 10:11:04 -04:00
Adrien Béraud
b7b6fb802d
http: header cleanup
2019-08-22 16:51:05 -04:00
Adrien Béraud
9575f84081
header cleanup
2019-08-22 15:39: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
d26bfc58d8
http: align logs
2019-08-14 14:02:43 -04:00
Seva
d50aae0751
dhtproxy: cleanup
2019-08-14 03:58:15 -04:00
Seva
c6f830f54d
http: fix refactoring memory issues
2019-08-14 02:30:19 -04:00
Seva
f018610ec9
http: fix ssl rfc2818 verif. due to self-signed cert.
2019-08-13 23:16:44 -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
25f3000a78
http: verify peer only if certificate provided
2019-08-12 14:27:59 -04:00
Seva
500ae6ef54
http: handle asio cancel delays
2019-08-10 15:34:02 -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
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
c8bed06641
http: rm default conn header & end properly
2019-07-30 09:22:03 -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
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