Closed Bug 1046892 Opened 10 years ago Closed 10 years ago

http/2 draft 14

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: u408661, Assigned: u408661)

References

Details

(Whiteboard: [spdy][http2release])

Attachments

(2 files, 3 obsolete files)

Update our implementation to draft14
Attached patch part 1 - client implementation (obsolete) — Splinter Review
Attachment #8465602 - Flags: review?(mcmanus)
Attached patch part 2 - tests (obsolete) — Splinter Review
Attachment #8465603 - Flags: review?(mcmanus)
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+
Whiteboard: [spdy] → [spdy][http2-release]
Whiteboard: [spdy][http2-release] → [spdy][http2release]
Attachment #8465603 - Flags: review?(mcmanus) → review+
Attached patch Colon header handling update (obsolete) — Splinter 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 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+
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)
Blocks: 1046915
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!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: