Skip to content
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
1a60bd9
http: add CDN-Loop header value parser and utilities
justin-mp Aug 28, 2020
308efac
Fix up style issues
justin-mp Aug 31, 2020
2ef7b2e
Remove designated initializers
justin-mp Aug 31, 2020
734288b
Add an ownership directory for http/cdn
justin-mp Aug 31, 2020
5d1f5f5
Add alyssawilk as code owner for now
justin-mp Aug 31, 2020
53ce984
Make logging output not look like a designated initializer
justin-mp Aug 31, 2020
40b62fb
Teach the spell checker about CDNs
justin-mp Aug 31, 2020
786c47d
Teach the spell checker about more RFC terms
justin-mp Sep 1, 2020
2ee7ced
clang-tidy fixes
justin-mp Sep 1, 2020
aef2b60
Merge branch 'master' into cdn-loop-parser
justin-mp Sep 2, 2020
72d7de4
Rename bazel targets to match Envoy naming convention
justin-mp Sep 2, 2020
874ca27
First pass at @penguingao’s comments
justin-mp Sep 2, 2020
155d65a
Add better token error suggested by @penguingao
justin-mp Sep 2, 2020
61f65b3
Clean up parseCdnId as suggested by @penguingao
justin-mp Sep 2, 2020
2712cc7
Move StatusHelpers to test/test_common
justin-mp Sep 2, 2020
41d0df7
Rename update as per comments from @penguingao
justin-mp Sep 2, 2020
a48d4a2
Expand comment on why parsing by token is OK.
justin-mp Sep 2, 2020
8574436
Rename the cdn directory to cdn_loop
justin-mp Sep 3, 2020
c53f7e8
Make file names less stuttery
justin-mp Sep 3, 2020
c81acbf
Clean up namespaces
justin-mp Sep 3, 2020
a5627cb
Merge branch 'master' into cdn-loop-parser
justin-mp Sep 10, 2020
9280112
Remove renamed file
justin-mp Sep 10, 2020
0dc94b3
Comment tense police
justin-mp Sep 10, 2020
6caa904
Transposed numbers police
justin-mp Sep 10, 2020
9ad718d
Comment police
justin-mp Sep 10, 2020
89c0ab3
Rename parseOptionalWhitespace to skipOptionalWhitespace
justin-mp Sep 10, 2020
be8d21a
Optimize IPv6 and quoted string paths
justin-mp Sep 10, 2020
bdde63d
Fix copy pasta from test
justin-mp Sep 10, 2020
410b78e
Wrong word police
justin-mp Sep 10, 2020
c734c91
Increase test coverage for parseQuotedString
justin-mp Sep 10, 2020
d93ba73
Increase test coverage for parseCdnId
justin-mp Sep 10, 2020
429f4e5
Increase test coverage for parseParameter
justin-mp Sep 10, 2020
a9a2c77
Increase test coverage for parseCdnInfoList
justin-mp Sep 10, 2020
b6b3764
Increase test coverage for countCdnLoopOccurrences
justin-mp Sep 10, 2020
2e95d94
Increase test coverage of parser.h
justin-mp Sep 10, 2020
4428c59
Make error messages consistent.
justin-mp Sep 10, 2020
3145556
Merge branch 'master' into cdn-loop-parser
justin-mp Sep 11, 2020
e3eae40
Missed rename of cdn to cdn_loop
justin-mp Sep 14, 2020
a47b097
Fix style failure (std::string_view versus absl::string_view)
justin-mp Sep 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ extensions/filters/common/original_src @snowp @klarose
/*/extensions/filters/network/rocketmq_proxy @aaron-ai @lizhanhui @lizan
# thrift_proxy extension
/*/extensions/filters/network/thrift_proxy @zuercher @rgs1
# cdn_loop extension
/*/extensions/filters/http/cdn @justin-mp @penguingao @alyssawilk
Comment thread
justin-mp marked this conversation as resolved.
Outdated
# compressor used by http compression filters
/*/extensions/filters/http/common/compressor @gsagula @rojkov @dio
/*/extensions/filters/http/compressor @rojkov @dio
Expand Down
26 changes: 26 additions & 0 deletions source/extensions/filters/http/cdn_loop/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
load(
"//bazel:envoy_build_system.bzl",
"envoy_cc_library",
"envoy_extension_package",
)

licenses(["notice"]) # Apache 2

envoy_extension_package()

envoy_cc_library(
name = "parser_lib",
srcs = ["parser.cc"],
hdrs = ["parser.h"],
deps = ["//source/common/common:statusor_lib"],
)

envoy_cc_library(
name = "utils_lib",
srcs = ["utils.cc"],
hdrs = ["utils.h"],
deps = [
":parser_lib",
"//source/common/common:statusor_lib",
],
)
Loading