-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First sort-of-ish working PoC of simple http3 requests
- Loading branch information
Showing
12 changed files
with
983 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace Amp\Http\Server\Driver\Internal\Http3; | ||
|
||
enum Http3Error: int | ||
{ | ||
case QPACK_DECOMPRESSION_FAILED = 0x200; | ||
case QPACK_ENCODER_STREAM_ERROR = 0x201; | ||
case QPACK_DECODER_STREAM_ERROR = 0x202; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace Amp\Http\Server\Driver\Internal\Http3; | ||
|
||
enum Http3Frame: int | ||
{ | ||
case DATA = 0x00; | ||
case HEADERS = 0x01; | ||
case CANCEL_PUSH = 0x03; | ||
case SETTINGS = 0x04; | ||
case PUSH_PROMISE = 0x05; | ||
case GOAWAY = 0x07; | ||
case ORIGIN = 0x0c; | ||
case MAX_PUSH_ID = 0x0d; | ||
case PRIORITY_UPDATE_Request = 0xF0700; | ||
case PRIORITY_UPDATE_Response = 0xF0701; | ||
} |
Oops, something went wrong.