-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for chunked HTTP data requests (#2484)
* Add implementation for chunked HTTP data requests in agent * Introduce Streamed variant of HttpRequestFallback for chunked requests * Complete handle agent request for Chunked requests * Add unit test for streamed http requests in intproxy * Add unit test for streamed http requests in agent * Change required version Co-authored-by: Michał Smolarek <[email protected]> --------- Co-authored-by: Michał Smolarek <[email protected]>
- Loading branch information
Showing
11 changed files
with
647 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
Added support for intercepting streaming HTTP requests with an HTTP filter. |
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 |
---|---|---|
|
@@ -802,6 +802,7 @@ where | |
|
||
#[cfg(test)] | ||
mod test { | ||
|
||
use bytes::BytesMut; | ||
use http::{ | ||
header::{CONNECTION, UPGRADE}, | ||
|
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
Oops, something went wrong.