Commit Graph

58 Commits

Author SHA1 Message Date
Dirkjan Ochtman 5484d37c76 Migrate to directories-next
directories is no longer being maintained and the final released version
causes a dependency conflict (cfg-if, versus tracing).
2020-06-22 14:46:13 +02:00
Jean-Christophe BEGUE 4945573fda H3: make the h3 client default port 443 2020-06-05 13:06:07 -07:00
Dirkjan Ochtman 99df1dfbb1 H3: don't take ownership for request cancellation 2020-05-04 17:59:05 +02:00
stammw 586cb59a4e H3: HttpBody implementation on the receive side 2020-05-04 17:59:05 +02:00
stammw 448470518a H3: rewrite client to use SendData<HttpBody, _> 2020-05-04 17:59:05 +02:00
stammw 34c9f45802 H3: HttpBody server integration in SendResponse 2020-05-04 17:59:05 +02:00
Benjamin Saunders ca6776658a Listen on IPv6 by default in h3 server example 2020-05-04 07:10:50 +02:00
stammw b2351efc00 H3: rework server example for clarity, remove helpers 2020-04-10 21:21:03 +02:00
stammw 8894e3ee96 H3: rework the client example for clarity 2020-04-10 21:21:03 +02:00
stammw 88a0796c0a H3: remove unused Server struct 2020-04-10 21:21:03 +02:00
Benjamin Saunders 5774071b48 Spawn driver tasks implicitly 2020-01-13 09:54:26 +01:00
stammw 0b4fa10b97 H3: spawn each incoming connection in server example 2019-12-31 09:33:55 +01:00
stammw 21f9cc9d33 H3: accept directly http::Uri in client example args 2019-12-31 09:33:55 +01:00
stammw f9965e473f H3: avoid panics in server example critical path 2019-12-31 09:33:55 +01:00
Dirkjan Ochtman 102f537d40 Fix remaining lints 2019-12-22 14:28:02 -08:00
stammw 0b1c567fdd H3: shorten server builder story 2019-12-05 15:48:19 +01:00
stammw c7504ad800 H3: keep only simple examples 2019-12-05 15:48:19 +01:00
stammw 9fd975afa3 H3: refactor server to use only BodyReader/Writer 2019-12-05 15:48:19 +01:00
stammw 4f5b196b5d H3: refactor client to API into one BodyReader 2019-12-05 15:48:19 +01:00
stammw 102a727629 H3: rewrite simple_client example 2019-12-05 15:48:19 +01:00
Benjamin Saunders 9522b44600 Remove quinn-proto rustls config newtypes
These were not successful at removing rustls from our public API, and
made specifying custom cryptographic configurations
unintuitive. Removing them reduces the scope of our public API while
preserving the friendliness of the high-level quinn API.
2019-11-23 20:20:54 +01:00
Benjamin Saunders 4902bfe6ba Use anyhow instead of failure in examples
Anyhow was already in our depgraph and is more modern and actively
maintained.
2019-11-19 11:46:43 -08:00
Timon Post ac810125c1 merge imports 2019-11-19 08:23:35 +01:00
Benjamin Saunders a957bf4aa2 Replace slog with tracing 2019-10-29 10:36:50 +01:00
Benjamin Saunders 8e1c6b605e Remove ToSocketAddrs from EndpointBuilder::bind
Improves consistency with Endpoint::connect and removes the
possibility of silent blocking should the user pass in a domain
name. The generic API was originally motivated by the convenience of
passing in numeric addresses as strings, but `.parse().unwrap()` is
pretty easy too.
2019-09-29 07:21:06 +02:00
stammw f5e014dae1 h3: std futures 2019-09-28 10:23:26 +02:00
stammw 5881196211 H3: Simpler examples 2019-09-10 09:21:51 +02:00
stammw 69a4977267 H3: move some common example code into a shared module 2019-09-10 09:21:51 +02:00
stammw 3bd0c6969d H3: prevent extra copy when sending DataFrame 2019-09-10 09:21:51 +02:00
stammw d6b696c192 H3: stream request body from client 2019-09-10 09:21:51 +02:00
stammw 6950e350ea H3: introduce builder pattern for client request 2019-09-10 09:21:51 +02:00
stammw fdd801c6e9 H3: refactor server code to integrate BodyWriter 2019-09-10 09:21:51 +02:00
stammw df4880a936 H3: Sending headers gets it's own future 2019-09-10 09:21:51 +02:00
stammw 503de0b78e H3: embed RecvBody into Http:: Request and Response type param 2019-09-06 17:12:10 +02:00
stammw 73065fa443 H3: rename RecvBody into ReadToEnd and Receiver into RecvBody 2019-09-06 17:12:10 +02:00
stammw 73be859e8c H3: introduce an intermediary type before any body-recv option 2019-09-06 17:12:10 +02:00
stammw 13cd3cf86f H3: return RecvBody along response in client, similarly to server 2019-09-06 17:12:10 +02:00
stammw 874dafefc7 H3: AsyncRead or Stream from RecvBody, so server can stream request 2019-09-06 17:12:10 +02:00
stammw 92c04c3b66 H3: separate request header, body, and response structs in server 2019-09-06 17:12:10 +02:00
stammw 06d060c0e9 H3: use AsyncRead into the example 2019-08-12 21:21:30 +02:00
Dirkjan Ochtman 01b9d212be Upgrade to url 2 2019-07-24 21:29:48 +02:00
stammw e2ee96de60 H3: Code reformatting from fmt update 2019-07-20 15:40:42 -07:00
stammw 07eca3d348 H3: Stream response from client 2019-07-09 21:23:08 +02:00
Dirkjan Ochtman 886a137703 Move H3 ALPN token into quinn-h3 2019-06-20 12:30:02 -07:00
Dirkjan Ochtman 45ee97bd5a Upgrade to rcgen 0.4 2019-06-18 14:11:40 -07:00
Dirkjan Ochtman e84fff9e46 Remove prefix from builder types to avoid stuttering 2019-06-09 11:30:09 +02:00
Dirkjan Ochtman ea6be3467c Fix breakage in quinn-h3 due to crypto changes 2019-06-08 08:40:10 -07:00
stammw e0f1d11fb4 H3: fix receive misspelling 2019-06-07 20:13:27 +02:00
stammw 25fc68d760 H3: send trailers from client 2019-06-07 20:13:27 +02:00
stammw efaf945258 H3: request body 2019-06-07 20:13:27 +02:00