Commit graph

4472 commits

Author SHA1 Message Date
Nikolay Kim
a06c2e3bcd wip 2022-10-17 18:45:46 +02:00
Nikolay Kim
43badfe59c test tokio timer 2022-10-17 07:11:06 +02:00
Nikolay Kim
bc51d800ff Log ssl errors 2022-10-14 16:46:27 +02:00
Jens Reimann
eabb165dda
feat: allow extracting TLS SNI server name and TLS PSK identity (#136)
This change allows to query for the SNI server name and the PSK
identity.

The server name implements only the DNS variant, as this is what both
APIs currently seem to support.

The PSK identity is only implemented for OpenSSL, as RustTLS currently
doesn't support TLS PSK. But it could be implemented the same way, once
this becomes available.
2022-10-14 16:45:12 +02:00
Nikolay Kim
bc37d9c0d7 Prepare release 2022-10-03 10:23:03 +02:00
Nikolay Kim
7ce1927566 clippy 2022-10-03 10:21:08 +02:00
Will Brown
68def82d90
fix ondisconnect never resolving (#135) 2022-10-02 23:16:36 +06:00
Nikolay Kim
71a919e91e Fix ServerBuilder::configure_async() helper method 2022-09-20 19:25:51 +02:00
Nikolay Kim
eee3a3e523 update msrv 2022-09-20 08:28:29 +02:00
Nikolay Kim
70abdf10b1 Fix incorrect wordin for State extractor #134 2022-09-20 08:00:49 +02:00
Nikolay Kim
8b7c3111c0 Add ServerBuilder::configure_async() helper, async version of configure method 2022-09-20 07:54:51 +02:00
Nikolay Kim
bd5d40e439 Add System::block_on() helper method 2022-09-20 07:54:39 +02:00
Nikolay Kim
ee4b23465b
Various http fixes (#132)
* Fix parsing ambiguity in Transfer-Encoding and Content-Length headers for HTTP/1.0 requests

* Fix http2 content-length handling

* fix h2 content-length support
2022-08-22 11:54:19 +02:00
Nikolay Kim
767f022a8e prep release 2022-07-14 17:40:12 +02:00
Will Brown
e20a7ad9e2
do not encode pong into binary message (#130) 2022-07-14 17:38:13 +02:00
Nikolay Kim
d808574b97 Use new h2 client api 2022-07-13 13:38:22 +02:00
Nikolay Kim
064e3b5b8f Handle h2 connection disconnect 2022-07-12 15:23:27 +02:00
Nikolay Kim
0f28860fed make AndThenFactory::new public 2022-07-07 21:56:27 +06:00
Nikolay Kim
f1bffbbe52 Revert "Make AndThenFactory::new() public, cleanups"
This reverts commit 4a642901a1.
2022-07-07 21:54:44 +06:00
Nikolay Kim
1ac4a636b3 fix h2 client, send scheme and authority 2022-07-07 11:54:08 +06:00
Nikolay Kim
55c837a5f8 Add ByteString::clear() method 2022-07-07 10:39:55 +06:00
Nikolay Kim
073ea6db29 prep release 2022-07-07 10:30:38 +06:00
Nikolay Kim
97c99c7b3d prep release 2022-07-07 10:29:19 +06:00
Nenad Banfic
bcec02a381
Add ?Sized to Rc service (#125)
Co-authored-by: nebanfic <banfic.nenad@gmail.com>
2022-07-07 07:33:16 +06:00
leone
df3d29387f
[BUGFIX] async-std cannot find function block_on on windows (#122)
* [BUGFIX] Fixed cannot find function block_on for async-std feature on windows

* [UPDATE] ntex-rt/CHANGES.md
2022-07-01 10:37:08 +06:00
Nikolay Kim
88c7fd3116
Switch to ntex-h2 for http/2 support (#120)
* switch server to ntex-h2 for http/2 support
2022-06-27 15:28:44 +06:00
Nikolay Kim
08a577f730 impl PartialEq for HeaderMap 2022-06-26 15:21:56 +06:00
goiw111
d732657941
impl FromIterator for HeaderMap (#118)
* impl FromIterator for HeaderMap

* impl TryFrom<&str> for Value
2022-06-26 15:19:53 +06:00
Nikolay Kim
8473cf3c55 bump version 2022-06-23 19:18:20 +06:00
Nikolay Kim
19eebbf3fd bump msrv to 1.57.0 2022-06-23 16:22:52 +06:00
Nikolay Kim
2531c4bc83 bump msrv to 1.56.1 2022-06-23 16:03:47 +06:00
Nikolay Kim
94fb2081dd prepare release 2022-06-23 14:52:17 +06:00
Nikolay Kim
40aa4542ce fix tests 2022-06-23 14:36:27 +06:00
Nikolay Kim
8c611466b1 prepare release 2022-06-20 21:56:33 +06:00
Nikolay Kim
5a317554f9 move ntex::connect to separate crate 2022-06-20 21:54:13 +06:00
Nikolay Kim
36926de5be update changes 2022-06-20 21:02:58 +06:00
Nikolay Kim
d4a6ddfef1 Add Buf/BufMut impls 2022-06-20 20:59:42 +06:00
Nikolay Kim
d7261e2dd7 Move basic http types to separeate crate 2022-06-13 22:04:16 +06:00
Nikolay Kim
49520c0c55 prep release 2022-06-03 11:56:47 +06:00
Nikolay Kim
8be108d634 Add http client response body load timeout 2022-05-25 16:58:32 +06:00
Nikolay Kim
27f434797f Allow to reset time::Deadline 2022-05-25 16:48:53 +06:00
Nikolay Kim
ebb1f1e303 Refactor http client pool management 2022-05-25 15:17:53 +06:00
Nikolay Kim
1179b69fb0 Update readme, msrv 1.55 2022-05-05 18:18:16 +06:00
Nikolay Kim
e1abe801b5 Prep release 2022-05-05 18:10:49 +06:00
Nikolay Kim
a2605262c6
Disable doc tests for windows (#108) 2022-05-05 17:28:46 +06:00
Nikolay Kim
851d3b970f Remove .assume_init usage #106 2022-05-05 16:16:46 +06:00
Nikolay Kim
ce6a77b326 Remove unnecessary clippy directives 2022-05-05 15:38:11 +06:00
Nikolay Kim
a29c003f55 Refactor http1 dispatcher 2022-05-05 14:54:30 +06:00
fakeshadow
114a7b6dba
use MaybeUninit type for header parsing. (#107) 2022-04-26 07:00:21 +06:00
Nikolay Kim
fb6c16fcb2 Disable keep-alive timeout for websockets endpoint 2022-04-05 16:58:23 -07:00