-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] use llhttp as default HTTP parser #9033
Changes from 14 commits
e2e2f37
0f783e7
b606eee
0e3aa68
bc59371
3b54253
082f0f7
b186af1
bb7071e
de604e3
1ed643b
c4981fc
6f94c61
cdee9ac
ba651d8
28257f6
09551b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
licenses(["notice"]) # Apache 2 | ||
|
||
cc_library( | ||
name = "llhttp", | ||
srcs = [ | ||
"src/api.c", | ||
"src/http.c", | ||
"src/llhttp.c", | ||
], | ||
hdrs = ["include/llhttp.h"], | ||
includes = ["include"], | ||
visibility = ["//visibility:public"], | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ Version history | |
* health check: gRPC health checker sets the gRPC deadline to the configured timeout duration. | ||
* http: added the ability to sanitize headers nominated by the Connection header. This new behavior is guarded by envoy.reloadable_features.connection_header_sanitization which defaults to true. | ||
* http: support :ref:`auto_host_rewrite_header<envoy_api_field_config.filter.http.dynamic_forward_proxy.v2alpha.PerRouteConfig.auto_host_rewrite_header>` in the dynamic forward proxy. | ||
* http: use llhttp as default http parser | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Drive by comment as you clean things up, I wouldn't default this on until we've had some fuzzing aimed at it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, will flip this off-by-default for now |
||
* jwt_authn: added :ref:`bypass_cors_preflight<envoy_api_field_config.filter.http.jwt_authn.v2alpha.JwtAuthentication.bypass_cors_preflight>` to allow bypassing the CORS preflight request. | ||
* lb_subset_config: new fallback policy for selectors: :ref:`KEYS_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>` | ||
* logger: added :ref:`--log-format-escaped <operations_cli>` command line option to escape newline characters in application logs. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llhttp 2.0.2 was just released - https://github.com/nodejs/llhttp/releases/tag/release%2Fv2.0.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llhttp 2.0.3 was just released - https://github.com/nodejs/llhttp/releases/tag/release%2Fv2.0.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llhttp 2.0.4 was just released - https://github.com/nodejs/llhttp/releases/tag/v2.0.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llhttp 2.0.5 released - https://github.com/nodejs/llhttp/releases/tag/v2.0.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As @indutny mentioned at #5155 (comment), llhttp 2.1.1 released - https://github.com/nodejs/llhttp/releases/tag/v2.1.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llhttp 2.2.0 released - https://github.com/nodejs/llhttp/releases/tag/v2.2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llhttp 3.0.0 released - https://github.com/nodejs/llhttp/releases/tag/release%2Fv3.0.0