Carl Lerche
66dbde92ef
Do not reuse next ptr for multiple linked lists
...
Because, you might think that each linked list has exclusive access to
the next pointer, but then there is an edge case that proves otherwise.
Also, debugging this kind of thing is annoying.
2017-08-23 20:35:53 -07:00
Carl Lerche
7e8c7fd2b8
Use FlowControl::available to size data frames ( #29 )
2017-08-23 20:34:58 -07:00
Oliver Gould
f839443ece
implement h2::server::Stream::send_reset(Reason) and Body::is_empty() ( #22 )
2017-08-23 12:48:00 -07:00
Carl Lerche
807d2b7317
Wire in recv flow control ( #26 )
2017-08-23 11:22:24 -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
Oliver Gould
e015d7bfba
Implement Client::poll_ready ( #21 )
...
Client::poll_ready ensures that the connection is ale to to initiate a new request stream to the remote server. When the server is at capacity, a task is stored to be notified when capacity is available.
2017-08-15 13:46:55 -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
3b2ad536d9
Fix bug in prioritization
2017-08-11 19:01:54 -07:00
Carl Lerche
8a15663ed2
Progress towards allowing large writes
2017-08-11 16:57:51 -07:00
Carl Lerche
32d4c2d5a9
Many more changes
2017-08-11 12:00:22 -07:00
Carl Lerche
c439232ed2
Handle more H2 details
2017-08-10 21:08:57 -07:00
Carl Lerche
10fd4ae7ed
Wire up trailers
2017-08-10 20:24:52 -07:00
Carl Lerche
e7c07b0b12
More debug output
2017-08-10 13:34:04 -07:00
Carl Lerche
a1b03b7724
Trying to get something working
2017-08-10 13:15:40 -07:00
Carl Lerche
6c962491c6
Test and fix store::List::retain
2017-08-10 10:14:22 -07:00
Carl Lerche
7107e9fc06
More work on window updates
2017-08-09 22:34:22 -07:00
Carl Lerche
c118f86517
More flow control work
2017-08-09 16:42:55 -07:00
Carl Lerche
95bb95af01
More send flow control
2017-08-09 14:37:41 -07:00
Carl Lerche
a8c8cdb8e9
Fix build
2017-08-09 14:17:55 -07:00
Carl Lerche
dfec401fdf
WIP: send flow control
2017-08-09 14:16:32 -07:00
Carl Lerche
f39e983af0
Actually get server working (maybe)
2017-08-09 10:49:49 -07:00
Carl Lerche
8f2b69c280
Get server working again (mostly)
2017-08-09 10:36:03 -07:00
Carl Lerche
26df3a3698
Remove P generic from type
2017-08-08 22:11:11 -07:00
Carl Lerche
8a5e0c3046
More tweaks
2017-08-08 14:26:38 -07:00
Carl Lerche
8485bf91e7
Start hooking up reset
2017-08-08 13:48:29 -07:00
Carl Lerche
314b7a1848
Wire in PushPromise
2017-08-08 13:32:36 -07:00
Carl Lerche
441a8416c6
Handle the remote returning a protocol error
2017-08-07 22:35:29 -07:00
Carl Lerche
71da8d121f
Start hooking up sending data
2017-08-07 21:01:15 -07:00
Carl Lerche
6053ee059d
Get receiving data working
2017-08-07 12:48:50 -07:00
Carl Lerche
71acfe3961
Start hooking up data receiving
2017-08-07 12:17:52 -07:00
Carl Lerche
1c55ad75ea
More code
2017-08-04 17:25:39 -07:00
Carl Lerche
fc0a7eb898
More work
2017-08-04 12:12:22 -07:00
Carl Lerche
74b3852a58
Start working on prioritization
2017-08-03 22:44:19 -07:00
Carl Lerche
dd8412d660
Much work
2017-08-03 15:50:13 -07:00
Carl Lerche
7a804601c5
A lot of structural work
2017-08-03 11:40:50 -07:00
Carl Lerche
9f9bf85168
More restructuring
2017-08-02 14:48:10 -07:00
Carl Lerche
77681674e2
Start prepping for Sync
2017-08-02 13:43:14 -07:00
Carl Lerche
9d7221e6cf
Misc streams cleanup
2017-08-02 13:09:14 -07:00
Carl Lerche
22ebf186c6
Move state into proto::streams
2017-08-02 12:57:49 -07:00
Carl Lerche
341e15769e
Move to custom stream storage
2017-08-02 12:55:41 -07:00
Carl Lerche
a3cbf2d7ac
Wire up Trailers frame
2017-08-02 11:34:34 -07:00
Carl Lerche
33bdc057d6
Restructure proto
...
The existing code has been moved out and is being copied back piece / by
piece while restructuring the code to (hopefully) be more manageable.
2017-08-02 09:42:10 -07:00