-
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.
Migrate HTTP server to net/http (dapr#6248)
* Convert pprof server to net/http Signed-off-by: ItalyPaleAle <[email protected]> * 🧹 Signed-off-by: ItalyPaleAle <[email protected]> * Converted some middlewares to net/http Signed-off-by: ItalyPaleAle <[email protected]> * Fixed tests Signed-off-by: ItalyPaleAle <[email protected]> * Migrated metrics middleware Signed-off-by: ItalyPaleAle <[email protected]> * Working on tracing middleware Signed-off-by: ItalyPaleAle <[email protected]> * Completed converting middlewares Signed-off-by: ItalyPaleAle <[email protected]> * 💄 Signed-off-by: ItalyPaleAle <[email protected]> * Changed the web server Signed-off-by: ItalyPaleAle <[email protected]> * Removed streaming from HTTP API since it is not working at this time See dapr#6246 Signed-off-by: ItalyPaleAle <[email protected]> * Fixed useMaxBodySize middleware Signed-off-by: ItalyPaleAle <[email protected]> * Fixed tracing headers Signed-off-by: ItalyPaleAle <[email protected]> * Should fix tests Signed-off-by: ItalyPaleAle <[email protected]> * Should actually fix tests Signed-off-by: ItalyPaleAle <[email protected]> * Should fix limiting request body Signed-off-by: ItalyPaleAle <[email protected]> * Add unit tests for limitreadcloser Signed-off-by: ItalyPaleAle <[email protected]> * Document changes in responsewriter Signed-off-by: ItalyPaleAle <[email protected]> * status codes use net/http Signed-off-by: ItalyPaleAle <[email protected]> * Method constants use net/http too Signed-off-by: ItalyPaleAle <[email protected]> * Handle ErrServerClosed better Signed-off-by: ItalyPaleAle <[email protected]> * Tweak SDK pipeline Signed-off-by: ItalyPaleAle <[email protected]> * Added InvokeMethodRequest.WithHTTPHeaders Signed-off-by: ItalyPaleAle <[email protected]> * Fix propagation of trace context between net/http and fasthttp Signed-off-by: ItalyPaleAle <[email protected]> * Fix handling of error responses from app in CallLocalStream Signed-off-by: ItalyPaleAle <[email protected]> * 💄 Signed-off-by: ItalyPaleAle <[email protected]> --------- Signed-off-by: ItalyPaleAle <[email protected]> Co-authored-by: Loong Dai <[email protected]>
- Loading branch information
1 parent
054df8c
commit 5aba3c9
Showing
34 changed files
with
1,250 additions
and
759 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
Oops, something went wrong.