Adrien Béraud
9d937bb277
http: factor setting CA source
2020-11-12 19:00:02 -05:00
Andreas Traczyk
1621515b3c
http: use local cache to store pre-decoded certs
...
- pre-decode certs from DER->PEM and store them so http connections
can add them the ssl context x509 store
- fixes the windows build by adding the crypto/x509 header
2020-11-12 18:58:18 -05:00
Adrien Béraud
c2a4f667a7
http: look for CA path in env
2020-11-12 12:53:03 -05:00
Adrien Béraud
065be0621d
ssl: fix build on non-MSVC platforms
2020-10-28 14:06:08 -04:00
Andreas Traczyk
6c085ed975
http: load ca certs from platform specific stores into x509 store
2020-10-28 12:23:53 -04:00
Adrien Béraud
4c5776f9d2
http: add support for OCSP verification
2020-10-28 12:23:53 -04:00
Adrien Béraud
c84fac6823
http: add Request::await
2020-10-28 12:23:53 -04:00
Adrien Béraud
67adc09d52
http: add non-Linux exception for current libressl limitation
2020-07-03 16:33:12 -04:00
Adrien Béraud
9dc0ce7392
http: cleanup
2020-06-29 23:06:42 -04:00
Adrien Béraud
1a025c5cea
http: log peer subject name during TLS certificate verification
2020-06-29 20:52:53 -04:00
Adrien Béraud
732e9af439
http: set SNI when using TLS
2020-06-29 19:17:16 -04:00
Adrien Béraud
4e5666fc3a
http: add verify path for Android
2020-06-29 19:17:16 -04:00
Adrien Béraud
cfa21df8b3
http: cleanup, always verify host in TLS mode
2020-06-29 12:12:22 -04:00
Adrien Béraud
f72bfc9df2
http: use hostname for certificate authentication
2020-06-19 15:21:34 -04:00
Adrien Béraud
c221cfdafe
http/Request: add get json constructor
2020-06-15 17:47:32 -04:00
Adrien Béraud
187c7dbce3
http: preserve headers during redirect
2020-03-25 23:00:16 -04:00
Adrien Béraud
f445b2536d
http: handle redirects
2020-02-12 16:45:25 -05:00
Adrien Béraud
6c43efa4da
http: use proper target in requests
2020-02-04 16:21:24 -05:00
Adrien Béraud
3ba43c80a2
http: add weak_ptr to Request in Response
2020-01-15 11:45:26 -05:00
Adrien Béraud
16333f4224
http: add mutex to Request, Connection
2020-01-15 11:45:03 -05:00
Adrien Béraud
616d6fe4b8
update copyright date
2020-01-03 15:14:32 -05:00
Adrien Béraud
0fbebf8e03
http: cleanup, fix handling error when no logger is set
2019-12-08 10:48:34 -05:00
Adrien Béraud
24efa37846
http: cleanup
2019-12-08 00:25:21 -05:00
Adrien Béraud
77a377a406
http: add OnDone callback
2019-12-07 16:23:08 -05:00
Adrien Béraud
5b87090cab
http: use http_parser parsing logic
2019-12-07 16:23:08 -05:00
Adrien Béraud
c4aa272dbb
http/request: add constructor
2019-12-05 18:39:39 -05:00
Adrien Béraud
17fb92654e
http: check parser before use
2019-12-03 16:45:19 -05:00
Adrien Béraud
36857c1f3d
http/request: add aborted flag and actual status code
2019-12-03 16:21:04 -05:00
Adrien Béraud
b380c9ffba
http: cleanup
2019-11-30 18:47:29 -05:00
Adrien Béraud
fe11285a03
http: close on request end with Connection: close, cleanup
2019-11-30 18:11:00 -05:00
Adrien Béraud
fb34770a54
http: reuse connection istream, cleanup
2019-11-30 17:21:52 -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
5df34bb752
http: use atomic ids
2019-11-25 15:42:45 -05:00
Adrien Béraud
8a18c591e9
http: initialize connection type, cleanup
2019-11-12 16:45:00 -05:00
Adrien Béraud
090da49fed
http/Request: cleanup
2019-11-04 15:50:55 -05:00
Adrien Béraud
22594396d2
http/Request: check conn_ on cancel
2019-11-04 15:49:05 -05:00
Adrien Béraud
0c8d0e2e0d
http/Request: atomically exchange terminate
2019-11-04 15:48:39 -05:00
Adrien Béraud
1f387a0e95
proxy client: resolve again on connectivity change
2019-10-30 11:33:16 -04:00
Seva
432f387423
http: ensure conn callbacks are always invoked
2019-10-24 16:03:07 -04:00
Seva
3abb9114ba
http: ensure sockets exists before invocations
2019-10-24 16:03:07 -04:00
Seva
6caf4b0d0b
http: ensure no data is lost in read_bytes
2019-10-18 15:44:26 -04:00
Seva
7f65fdc7f9
http: try to read full content-length after headers
2019-10-18 10:45:34 -04:00
Seva
ab7f36ff85
https: use identity's certificate chain
2019-10-15 14:34:50 -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
ccfb76d9b4
http: add client identity & fix CA
2019-10-15 14:34:50 -04:00
Seva
104a9e3b28
http: fix target's missing query
2019-10-10 14:24:51 -04:00
Seva
d77c868c55
http: close connection if server requests
2019-10-07 15:02:08 -04:00
Seva
55c56a5203
http: avoid creating a field in map on new key
2019-09-30 14:28:46 -04:00
Seva
7558444ae0
http: implement chunked transfer-encoding
2019-09-30 14:28:46 -04:00