Carl Lerche
e049dcb62b
Rename Client::request -> send_request ( #98 )
...
All other fns have a send prefix.
2017-09-18 21:22:15 -07:00
Sean McArthur
f7d14861e5
rustfmt: add trailing commas in match arms, set fn call to block stle ( #85 )
2017-09-12 19:29:06 -07:00
Oliver Gould
897bf84163
Use rustfmt to enforce consistent formatting
...
This change adds a .rustfmt.toml that includes ALL supported settings,
12 of which we have overridden to attempt to cater to our own
proclivities.
rustfmt is checked in the rust-nightly CI job.
2017-09-12 22:29:35 +00:00
Carl Lerche
93925e6d1f
Limit send flow control bug to window_size ( #78 )
...
Senders could set the available capacity greater than the current
`window_size`. This caused a panic when the sender attempted
to send more than the receiver could accept.
2017-09-12 10:48:11 -07:00
Carl Lerche
ae6bad6cef
Fix some flow control bugs
...
When a stream is closed, connection level capacity should be released
back to the connection and then assigned to other streams waiting for
capacity.
2017-09-07 16:45:20 -07:00
Carl Lerche
9b42dafd24
Extract drive combinator to test support
2017-09-07 15:36:54 -07:00
Carl Lerche
38bbf30b2f
Fix bug in prioritization ( #63 )
...
The stream buffered data counter was never decremented.
2017-09-07 14:12:21 -07:00
Carl Lerche
cd76aca6d4
Add test infrastructure to work directly with frames ( #56 )
...
This adds a `Codec` based testing API. This is a bit less annoying than writing
at the raw H2 wire protocol level...
2017-09-06 14:18:37 -07:00
Carl Lerche
c2e6eb35d8
Track HTTP crate
2017-09-05 10:21:31 -07:00
Carl Lerche
88d1de2da0
Expose Codec via an unstable flag ( #49 )
...
Exposes `Codec` using an unstable flag. This is useful for testing.
2017-09-03 16:17:05 -07:00
Carl Lerche
c0433e8831
Fix tests & bug introduced in previous commit
2017-08-24 16:48:01 -07:00
Carl Lerche
a623ab68b5
New send flow control ( #25 )
...
Restructure send flow control such that sending data is always accepted by `Stream`. Data frames will be buffered until there is available window to send them. Producers can monitor the available window capacity to decide if data should be produced.
2017-08-21 13:52:58 -07:00
Carl Lerche
de96b2f410
Add another test
2017-08-16 12:43:48 -07:00
Carl Lerche
150c3160be
Get large body writes working
2017-08-12 11:02:50 -07:00
Carl Lerche
570962353b
Work on prioritization
2017-08-11 21:57:44 -07:00
Carl Lerche
fa66323cec
Akamai request kind of works
2017-08-08 09:47:29 -07:00
Carl Lerche
0f13836504
More test cleanup
2017-07-26 13:08:00 -07:00