Cory Benfield
409da26764
Allow passing default settings.
2018-05-03 17:01:26 +01:00
Cory Benfield
9b0b68e731
More expressive SETTINGS api
2018-05-03 16:23:43 +01:00
Cory Benfield
22e879d3cb
Test breaching SETTINGS_MAX_CONCURRENT_STREAMS
2018-05-03 14:18:49 +01:00
Cory Benfield
c937029ad4
Remove CONTINUATION (and so endHeaders).
...
We treat CONTINUATION frames as an implementation detail, which means the
endStream flag is also redundant. Let's remove both.
2018-05-03 10:48:54 +01:00
Cory Benfield
58284885d6
Remove warnings
2018-05-03 10:37:03 +01:00
Cory Benfield
1d727f21ee
Test splitting fileregions
2018-05-02 21:32:42 +01:00
Cory Benfield
b9734dc3d7
Test basic file regions
2018-05-02 21:02:51 +01:00
Cory Benfield
f4dcce5058
Test auto-splitting large DATA frames
2018-05-02 17:13:50 +01:00
Cory Benfield
f82baa9378
Test stream quiescing
2018-05-02 15:36:05 +01:00
Cory Benfield
2cfbdb7ac5
Simple GoAway support
2018-05-02 14:42:55 +01:00
Cory Benfield
683a544f4d
Multi-stream test.
2018-05-01 13:02:48 +01:00
Cory Benfield
c4933b6d08
Make stream IDs classes
2018-05-01 10:18:09 +01:00
Cory Benfield
ca89364e1e
Don't make HTTP/2 know about request/response head
2018-04-30 11:44:08 +01:00
Cory Benfield
dddc12cd44
Cleanups
2018-04-30 10:26:25 +01:00
Cory Benfield
1ef32a0d3d
Correct handling of stream IDs.
2018-04-27 15:40:18 +01:00
Cory Benfield
9183e0c79c
More test infrastructure, better error reporting
2018-04-26 13:17:05 +01:00
Cory Benfield
d555f46cce
Initial basic client support
2018-04-25 18:02:35 +01:00
Cory Benfield
2044c89450
Improve HTTP2StreamChannel state handling.
...
Motivation:
The HTTP2StreamChannel needs to be aware of the HTTP/2 state machine,
at least at some level. This is to ensure it can map that state
machine onto the (unfortunately implicit) NIO stream state machine
and appropriately clean up resources like stream promises.
Modifications:
Lots. Added stream state tracking, refactored the frame structure,
stopped creating stream 0 as a sub-stream, and more.
Result:
We no longer crash when the curl TCP connection goes away.
2018-04-23 17:15:17 +01:00
Cory Benfield
df69a91f18
Add stream ID channel option
2018-04-18 18:20:28 +01:00
Cory Benfield
aae0dd7d17
Correct initialization of test server
2018-04-18 16:35:21 +01:00
Cory Benfield
0061ae1566
Get our trivial test case running again.
2018-04-18 16:29:23 +01:00
Cory Benfield
bab2bb7cfc
Removed debugging handlers
2018-04-18 16:28:12 +01:00
Cory Benfield
3cf74039d9
Fix many issues writing DATA frames
2018-04-16 16:09:13 +01:00
Cory Benfield
e4de5788a5
Initial support for writing DATA frames
2018-04-16 15:08:08 +01:00
Cory Benfield
1a91bebe1a
Add support for HTTP/2 ALPN negotiation. ( #1 )
...
Motivation
The most common mechanism for negotiating HTTP/2 is to use ALPN.
We should support that.
Modifications:
Added a `ChannelPipeline` extension to configure a pipeline for
ALPN-based upgrade.
Added a property that indicates the ALPN tokens for HTTP/2 and
HTTP/1.1 use.
Result:
Should be possible to configure a channel pipeline for HTTP/2 work.
2018-04-11 15:12:31 +01:00
Johannes Weiß
504c24939e
very rough first steps towards the first handled HTTP/2 request
2018-04-11 15:06:12 +01:00
Johannes Weiß
03f90eac46
add NIOHTTP2Server main file
2018-03-03 11:49:05 +09:00
Cory Benfield
5a88e70f60
Add readme
2017-12-04 18:08:38 +00:00
Cory Benfield
91d248c449
Linux testing is important
2017-12-04 18:01:47 +00:00
Cory Benfield
a5dae712c0
Initial commit
2017-12-04 17:37:23 +00:00
Johannes Weiß
d04a3971af
add scaffolding
2017-12-04 12:13:14 +00:00