forked from facebook/proxygen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: HTTP/2 requires that clients and servers send their connection preface/settings respectively as their first frame on the session. Move generate* calls into the appropriate location in the constructor and startNow. These were moved out in an ancient diff (D836488) that was trying to move async action out of the ctor, but generate* should just put bytes into writeBuf_. Note I think it is possible for upstream clients that call send* from setTransaction to insert frames before SETTINGS, which may cause problems. Test Plan: Unit tests, canary HTTP/2 Reviewed By: [email protected] Subscribers: doug, bmatheny FB internal diff: D1932061 Tasks: 6543821 Signature: t1:1932061:1426891893:8e66dd0504283dab0b3088ba39a69a8691fac534
- Loading branch information
Showing
5 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters