Closed
Bug 1046892
Opened 10 years ago
Closed 10 years ago
http/2 draft 14
Categories
(Core :: Networking: HTTP, defect)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: u408661, Assigned: u408661)
References
Details
(Whiteboard: [spdy][http2release])
Attachments
(2 files, 3 obsolete files)
77.02 KB,
patch
|
u408661
:
review+
|
Details | Diff | Splinter Review |
91.65 KB,
patch
|
u408661
:
review+
|
Details | Diff | Splinter Review |
Update our implementation to draft14
Attachment #8465602 -
Flags: review?(mcmanus)
Attachment #8465603 -
Flags: review?(mcmanus)
Comment 4•10 years ago
|
||
Comment on attachment 8465602 [details] [diff] [review]
part 1 - client implementation
Review of attachment 8465602 [details] [diff] [review]:
-----------------------------------------------------------------
awesome.
the two existing places that screen out :colon-header-names from h1 should be updated to look for preceding whitespace now that what they are doing is actually required by the spec.
I think we need to enforce the pseudo-headers first requirement when receiving on pain of PROTOCOL_ERROR
::: netwerk/protocol/http/Http2Session.h
@@ +119,5 @@
> SETTINGS_TYPE_HEADER_TABLE_SIZE = 1, // compression table size
> SETTINGS_TYPE_ENABLE_PUSH = 2, // can be used to disable push
> SETTINGS_TYPE_MAX_CONCURRENT = 3, // streams recvr allowed to initiate
> + SETTINGS_TYPE_INITIAL_WINDOW = 4, // bytes for flow control default
> + SETTINGS_TYPE_MAX_FRAME_SIZE = 5 // max frame size we can send
"max frame size settings sender allows receipt of"
@@ +155,5 @@
> + const static uint8_t kFrameLengthBytes = 3;
> + const static uint8_t kFrameStreamIDBytes = 4;
> + const static uint8_t kFrameFlagBytes = 1;
> + const static uint8_t kFrameTypeBytes = 1;
> + const static uint8_t kFrameHeaderBytes = kFrameLengthBytes + kFrameFlagBytes +
const static double pi = 3.1415927; // in case it changes
Attachment #8465602 -
Flags: review?(mcmanus) → review+
Updated•10 years ago
|
Whiteboard: [spdy] → [spdy][http2-release]
Updated•10 years ago
|
Whiteboard: [spdy][http2-release] → [spdy][http2release]
Updated•10 years ago
|
Attachment #8465603 -
Flags: review?(mcmanus) → review+
Just to sanity check myself (this works fine against an updated node implementation which I will release shortly), here's the interdiff to make the colon-header handling better.
Attachment #8466414 -
Flags: review?(mcmanus)
Comment 6•10 years ago
|
||
Comment on attachment 8466414 [details] [diff] [review]
Colon header handling update
Review of attachment 8466414 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm
Attachment #8466414 -
Flags: review?(mcmanus) → review+
Updated try push for review updates and new version of node-http2 that interops w/the review updates: https://tbpl.mozilla.org/?tree=Try&rev=2f7b12ce15ba
For posterity - the updated version
Attachment #8465602 -
Attachment is obsolete: true
Attachment #8466414 -
Attachment is obsolete: true
Attachment #8466432 -
Flags: review+
Also updated for posterity
Attachment #8465603 -
Attachment is obsolete: true
Attachment #8466433 -
Flags: review+
Assignee | ||
Comment 10•10 years ago
|
||
For the record, we have positive interop with both node-http2 (not independent, since I'm updating it) and nghttp2 (which is an independent implementation)
Assignee | ||
Comment 11•10 years ago
|
||
Assignee | ||
Comment 12•10 years ago
|
||
Sheriffs - if for some reason you end up having to back this out, please also back out bug 1047594. It's not strictly dependent on this (nothing will break if you don't), but we don't want it without this bug. Thanks!
https://hg.mozilla.org/mozilla-central/rev/9f442730a6e7
https://hg.mozilla.org/mozilla-central/rev/ac28ef70b931
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•