Commit Graph

61 Commits

Author SHA1 Message Date
Jacob Rothstein cbfb61f519
Merge pull request #15 from fiag/tcp-options
Add TCP_NODELAY and TTL options.
2021-05-24 17:39:37 -07:00
Jacob Rothstein bdfa6488d2
add tcp_{nodelay,ttl} to Debug, example, tcp_ prefix 2021-05-24 17:27:38 -07:00
fiag ae009b5d89 Move TCP_NODELAY and TTL options to TlsListenerBuilder. 2021-05-24 11:59:37 +08:00
fiag 83a1948dfd Add TCP_NODELAY and TTL options. 2021-05-20 01:19:53 +08:00
Jacob Rothstein b1cfe68ca0
upgrade deps as long as we're releasing 2021-03-20 21:47:14 -07:00
Jacob Rothstein 018826ae15
update readme to reflect change in rustls implementation 2021-03-20 21:44:52 -07:00
Jacob Rothstein ec73a0a66d
Merge pull request #14 from joshtriplett/custom-tls-acceptor
Add support for custom TLS acceptors
2021-03-20 21:24:35 -07:00
Josh Triplett 68594fdcb2 Add support for custom TLS acceptors
Allow the configuration to provide a custom object to accept a TlsStream
from a TcpStream.

This gives total control over the TLS negotiation process, such as to
process some TLS streams or ALPN negotiations internally without passing
them through to tide. In particular, this allows responding to ACME
tls-alpn-01 challenges.
2021-03-19 23:50:40 -07:00
Jacob Rothstein 635ecf075d
Merge pull request #13 from joshtriplett/async-rustls
Switch to async-rustls
2021-03-19 17:44:22 -07:00
Josh Triplett 2990e7d4a0 Switch to async-rustls
tide-rustls is rustls-specific, and using async-rustls will allow users
of tide-rustls to depend on that.
2021-03-19 17:04:39 -07:00
Jacob Rothstein 895760f75e
Merge pull request #12 from joshtriplett/simplification
Drop unused return values of TlsListener::configure and TlsListener::connect
2021-03-19 16:39:58 -07:00
Josh Triplett 0306e915b0 Simplify TlsListener::configure
Now that we no longer need to return the TlsAcceptor, integrate the
error handling into the preceeding match.
2021-03-19 16:32:50 -07:00
Josh Triplett e8ea6d0e0b Drop unused return values of TlsListener::configure and TlsListener::connect
These methods return the TlsAcceptor and TcpListener, respectively,
but the only caller ignores those return values.
2021-03-19 13:09:02 -07:00
Yoshua Wuyts ea41f9ff1b v0.2.0 2021-01-30 12:52:22 +01:00
Yoshua Wuyts 7b3cf4b16d upgrade to tide v0.16.0 2021-01-30 12:43:25 +01:00
Jacob Rothstein 0b519ab2d6
(cargo-release) version 0.1.6 2020-12-17 18:23:27 -08:00
Jacob Rothstein 8f6be61a20
Merge pull request #9 from ericmarkmartin/main
update for async-tls v0.11
2020-12-14 11:30:20 -08:00
Eric Mark Martin 607876847f update for async-tls v0.11 2020-12-14 14:18:04 -05:00
Jacob Rothstein 14ca151605
(cargo-release) version 0.1.5 2020-12-04 15:53:24 -08:00
Jacob Rothstein 74f1b89570
upgrade deps 2020-12-04 15:53:14 -08:00
Yoshua Wuyts 6f441ef199 v0.1.4 2020-11-27 16:20:24 +01:00
Yoshua Wuyts b1284d190d
Merge pull request #7 from http-rs/tide-v0.15
update for tide v0.15
2020-11-27 16:18:40 +01:00
Jacob Rothstein d0b3e40daf
update for tide v0.15 2020-11-24 18:53:42 -08:00
Jacob Rothstein fdc699b4af
(cargo-release) version 0.1.3 2020-10-16 18:56:07 -07:00
Jacob Rothstein 5dfbe7b1a5
Merge pull request #3 from http-rs/tide_no_default_features
Tide no default features
2020-10-16 18:51:25 -07:00
Jacob Rothstein a68017473e
satisfy clippy 2020-10-16 18:44:02 -07:00
Jacob Rothstein afc6fc15ff
update deps 2020-10-16 18:37:57 -07:00
Jacob Rothstein e902df1040
with tide 0.14 we don't even need h1-server 2020-10-16 18:30:51 -07:00
Matt Johnston 253c920f20 Disable tide default features
h1-server is required for tide to build
2020-10-06 16:37:51 +08:00
Jacob Rothstein b2e9671898
(cargo-release) start next development iteration 0.1.3-alpha.0 2020-09-05 16:28:37 -07:00
Jacob Rothstein 6ba28f8d12
(cargo-release) version 0.1.2 2020-09-05 16:27:05 -07:00
Nick Cardin c1f13a77e8 update tide version to 0.13 2020-08-27 05:44:21 -07:00
Jacob Rothstein 4301e5ecad
update readme to point to http-rs 2020-07-30 11:03:13 -07:00
Jacob Rothstein f77875942b
add readme example for quickstart 2020-07-28 14:16:08 -07:00
Jacob Rothstein e0cf0b8ab9
(cargo-release) start next development iteration 0.1.2-alpha.0 2020-07-26 20:19:14 -07:00
Jacob Rothstein 3109205ab4
(cargo-release) version 0.1.1 2020-07-26 20:17:55 -07:00
Jacob Rothstein d6ce5fa748
fix documentation mistake 2020-07-26 20:17:34 -07:00
Jacob Rothstein bbcea79acc
(cargo-release) start next development iteration 0.1.1-alpha.0 2020-07-26 20:06:25 -07:00
Jacob Rothstein 268757a424
update cargo.toml, remove cargo.lock 2020-07-26 19:59:40 -07:00
Jacob Rothstein 1c740ac026
(cargo-release) version 0.1.0 2020-07-26 19:56:34 -07:00
Jacob Rothstein adfe9ccd02
update subhead 2020-07-26 19:54:21 -07:00
Jacob Rothstein 396aaa23e1
appease clippy 2020-07-26 19:49:36 -07:00
Jacob Rothstein 2f691eacc5
use main 2020-07-26 19:47:51 -07:00
Jacob Rothstein c626929864
update copy-paste mistake in readme 2020-07-26 19:47:46 -07:00
Jacob Rothstein b22c76bbc7
reexport rustls and async-tls 2020-07-26 19:42:29 -07:00
Jacob Rothstein 9ab7483d80
document the public interface 2020-07-26 19:40:44 -07:00
Jacob Rothstein 3f98812a43
update readme 2020-07-26 18:01:06 -07:00
Jacob Rothstein 3feda0a6aa
add support for rsa keys 2020-07-26 17:54:05 -07:00
Jacob Rothstein 2cd7a2ebbf
fix docs on ci 2020-07-17 22:11:09 -07:00
Jacob Rothstein 028d64a0ee
add ci 2020-07-17 21:52:27 -07:00