Skip to content
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

backport to 1.15: http: fix datadog and squash handling of responses without body (#13328) #14458

Merged
merged 4 commits into from
Jan 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 docs/root/version_history/current.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@

Changes
-------

* http: fixed bugs in datadog and squash filter's handling of responses with no bodies.
4 changes: 1 addition & 3 deletions source/extensions/filters/http/squash/squash_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,7 @@ void SquashFilter::cleanup() {
}

Json::ObjectSharedPtr SquashFilter::getJsonBody(Http::ResponseMessagePtr&& m) {
Buffer::InstancePtr& data = m->body();
std::string jsonbody = data->toString();
return Json::Factory::loadFromString(jsonbody);
return Json::Factory::loadFromString(m->bodyAsString());
}

} // namespace Squash
Expand Down
2 changes: 1 addition & 1 deletion source/extensions/tracers/datadog/datadog_tracer_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void TraceReporter::onSuccess(const Http::AsyncClient::Request& request,
} else {
ENVOY_LOG(debug, "traces successfully submitted to datadog agent");
driver_.tracerStats().reports_sent_.inc();
encoder_->handleResponse(http_response->body()->toString());
encoder_->handleResponse(http_response->bodyAsString());
}
}

Expand Down
42 changes: 21 additions & 21 deletions test/config/integration/certs/cacert.pem
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
-----BEGIN CERTIFICATE-----
MIID0jCCArqgAwIBAgIJAJxgLCQiz7YlMA0GCSqGSIb3DQEBCwUAMHYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDV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K0dgJsWn0rm
M2+COvVdQax98En+MB8GA1UdIwQYMBaAFK0dgJsWn0rmM2+COvVdQax98En+MA0G
CSqGSIb3DQEBCwUAA4IBAQCz+n2xQzsb5u5Giah36PzS3V5nYrALlz+Y4WRLyxSU
TQ3lIU07O36QrJwvujD2jXj+7Tc/f7q8G6QbxAlrRolo+qIbW+Kf6LPjhmqv6wct
bkoyUPevDTUsxASbwPvJig5uChFHHnSadIii7YWu1FYnR8EgDFEQT9qZf6GRB++S
BFKMhlGn22hujj0Zsq/VTgigQSZO+WiVTQLOLUcbJ+KsZYDkqiXOX2Pywjm9uaYx
ENQlVUhDEFwuhIZjeKrukJG2hpEPu7pIDaZldvxdfMP2IsyA120EdOlhtXTy0oYt
A6lTuF2PTBIMwEPv435rkBETbSScXNkPa72Lr6dau0qQ
-----END CERTIFICATE-----
50 changes: 25 additions & 25 deletions test/config/integration/certs/cakey.pem
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAqWRzlKvp4nXfhs+OEQvNEBvQ3vY3BVErRDBrnF5Z776dnB9x
leBpjiGT3QsGrMbq7jt1TP2LfLVADtjq00Gsri/Rl07fDE6ZAq74nmzAc42I24Mi
4A6WcnDKBCYwcdCbH0FfvSFA0Ti5SHoU2M43CFrixDqjI2V0EAjiPowNwhFmcdUx
YUVoYvWgZ0EM1gkmT1eRKykkkYNk9l57obrLnuxE7YErd+oQ6zsS4SWnktf2JaL8
oV/eIyT4QEity7rSVAztrZPC+9d2N1h5BcwzH5Bq5JUWwQf2Sl0URoiQ1hJaW1Al
FRW7sO5WgbU59Le+A0MQV6mpfbCK/b1eyy0LMwIDAQABAoIBAHFGvYwkUqmgTbRn
RAfeLmmhUFJpsG2b1CUrhCrzZY1PmTJ4TIr/oVbs2WauIu6TrzNVC6JKw2bIBmhn
YtGXT5TEYZKfqcUfIm+K9rNq4l/jvCufTEktOCqbhlyz9R2HdNS38QAXJrNDDZSM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z7nTVd/x4hfXZysCgYEA2qR25yBGmuzuu7hbvqfn
VaQjfOMke1c4yFgxdd/c2XadqVmHGnPHVt23Ea4WRpcC7d4Yyw6hvqsglHMpkPhW
KZZoaGjhgBiSyw1x4i8X1iQVYyNYpUVHuyhVobWv/37lsCtUKjkmsIZy0LjQZMpE
JqlOymMwulW+e+ygMnB2NWECgYA0AD/9MHuDn4d4OQtSLBB4GYmUFvIin+FHMByK
JWAdC4ZcMHLQdl+PWWaJsFti8panryK83PM/WY888enfJOW0fhxhzO8l9F6mC+CY
+EVV2LOvSWpiAN4v97q16YVFGHcfYbauEQlPqD6AbKX7WmhuIwnK0YuS0mtFiOPh
9n7YDwKBgQDiDdnyqZaV9W26upFyriTBtdIih9/0y1JLPxOb4BkfsXBKzdfGd5UQ
0xc1IUGQ0Ot8RoKmqWtaPQ59H7SjnTPImDfv8BwuRyCdOICTgnzJXF1bjbVbyCGY
B/uKKbpHvyLqPopBOkPoA7iQRBir0Amgc8DyaMLiVt26yTfUnz/+Kw==
-----END RSA PRIVATE KEY-----
40 changes: 20 additions & 20 deletions test/config/integration/certs/client_ecdsacert.pem
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDmTCCAoGgAwIBAgIJAILStmLgUUcYMA0GCSqGSIb3DQEBCwUAMHYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1TYW4gRnJhbmNp
c2NvMQ0wCwYDVQQKDARMeWZ0MRkwFwYDVQQLDBBMeWZ0IEVuZ2luZWVyaW5nMRAw
DgYDVQQDDAdUZXN0IENBMB4XDTE4MTIxNzIwMTgwMFoXDTIwMTIxNjIwMTgwMFow
gagxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1T
YW4gRnJhbmNpc2NvMQ0wCwYDVQQKDARMeWZ0MRkwFwYDVQQLDBBMeWZ0IEVuZ2lu
ZW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END CERTIFICATE-----
4 changes: 2 additions & 2 deletions test/config/integration/certs/client_ecdsacert_hash.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// NOLINT(namespace-envoy)
constexpr char TEST_CLIENT_ECDSA_CERT_HASH[] = "DC:B2:C0:82:AD:8C:C3:4E:06:2E:65:15:F9:F7:39:D0:4C:"
"8A:60:AF:1E:B6:01:18:C5:90:AE:AE:47:7D:B8:FC";
constexpr char TEST_CLIENT_ECDSA_CERT_HASH[] = "0A:36:73:B2:1D:75:75:01:62:29:91:28:DA:A9:A0:EC:18:"
"4B:AB:BB:2E:40:89:05:9B:04:17:B8:1D:1A:22:12";
6 changes: 3 additions & 3 deletions test/config/integration/certs/client_ecdsakey.pem
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
BggqhkjOPQMBBw==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIOoeoqRYQ6raBXh0ejEFGvOvP8XNgbKnj7tDYDLFH7t1oAoGCCqGSM49
AwEHoUQDQgAE/VD5VTe6dhhNMO2uxu7/gKmGCsKbCNXsWciyuDIhAXYhcZ0J4zz9
An46avD70AmXbYUO/li/h4UYq6Qhz2lR5w==
MHcCAQEEIHAYUpXK4YXMHO5cV0s/qsbLLfnJoHgDYLidLWBYVoPFoAoGCCqGSM49
AwEHoUQDQgAEC+p69NE93icPHG2xWzBaVE96/N9W/5OgnAASPWpPnYLDHRNwYZ65
zDLX3fx4UP73bkIYWi43xWRmpzOMSoAmmg==
-----END EC PRIVATE KEY-----
48 changes: 24 additions & 24 deletions test/config/integration/certs/clientcert.pem
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
-----BEGIN CERTIFICATE-----
MIIEZDCCA0ygAwIBAgIJAILStmLgUUcXMA0GCSqGSIb3DQEBCwUAMHYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1TYW4gRnJhbmNp
c2NvMQ0wCwY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y21n3a0EAC+2Rr1xrawFpyWazBRZmDipGcORI5W7MTDiX7XcQymy8ONt
NFs4zFylAxVPxmMgEEFeUxWBNTf3a/VAPy+GTxUHNNXgJWoUdIb6bxyp8VPCqWOE
zhrIDk8bPpCPqp2kIlZSYeQRsiwDPj6njZsXFvwp/mcvTt/IPOcCAwEAAaOBwTCB
vjAMBgNVHRMBAf8EAjAAMAsGA1UdDwQEAwIF4DAdBgNVHSUEFjAUBggrBgEFBQcD
AgYIKwYBBQUHAwEwQgYDVR0RBDswOYYfc3BpZmZlOi8vbHlmdC5jb20vZnJvbnRl
bmQtdGVhbYIIbHlmdC5jb22CDHd3dy5seWZ0LmNvbTAdBgNVHQ4EFgQUMaRyVxmr
lNMWGUdI0H6H4xgN2vswHwYDVR0jBBgwFoAUrR2AmxafSuYzb4I69V1BrH3wSf4w
DQYJKoZIhvcNAQELBQADggEBALZAZk4vbZLAmGUa7KGBKCiuOTGHlYvfa2tm1Exj
eaB5rtwGHlBgNIxBEH5ACfVgWMlyIToGRA1mpfuQULsPkJ9WfrW+XgsXByPFkYCd
/872YBjVKQ5k0TEZoDKLxYxvuoMMFOauQWzD7ltQHSXSJ+h2cyAbo73Syd/ZDs8w
iNqEnHy9sz0l69BMY4s4exA5A4fFiQFYEP4Dav76cB9qrdMxcckfpwFIY3YWHU+8
WQIrPbL/dkEPfQmfJZP2TCBvt6AUpLY33a20wCoYE4rScaEz4lj+CyCsaRcjK7BN
TyBgnIAJln8KiW22Dq5rhc3S/E71Y187wBjhj+QCcU1vV+A=
-----END CERTIFICATE-----
4 changes: 2 additions & 2 deletions test/config/integration/certs/clientcert_hash.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// NOLINT(namespace-envoy)
constexpr char TEST_CLIENT_CERT_HASH[] = "90:CA:A3:E0:B0:AD:8E:E6:4F:BC:11:6C:7B:E5:9D:35:11:2B:46:"
"71:5F:4D:5C:52:85:37:23:08:38:28:B4:D6";
constexpr char TEST_CLIENT_CERT_HASH[] = "5F:DA:F6:7E:E7:0F:94:81:E8:A8:DE:06:79:3C:67:0B:8C:D9:99:"
"F8:32:43:FB:27:C3:6A:34:33:6F:DF:10:6C";
50 changes: 25 additions & 25 deletions test/config/integration/certs/clientkey.pem
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAqLi5RmzH6TleUof821DaOhh84aQdUP1Ksc5HZoHReLc5t8PN
0KpGtv0OEeP14t4Jm1JbM38NgMfKLiGz5ceZv9f8rb1FTnMr5LLvmnvdlj+tp7pC
90Sy7eHLb0ogNIvRXhazZrjPkf3EnTH/bZdtIXi9v24ApiJTa+ovijLGUJVptxkZ
2q34fEVsMs6lQyy07zjvofY8R3ympzdQcCJtEWB0YMX8noXpeGr+rfcbMpROHbRr
5OAzu2jvfCHzbZ+qx8riGNoPFqeDMG7PWfrl0gnPPzUwjpvRkrxtoSUjCHanZxEy
3+Xk4kVAdxReHpd51zYTkxa9IgMnS+2yGKpKawIDAQABAoIBAA1Ivg21cugCBFMr
MdVywDviwbJiYYyG5OKrAyQnBH8krf6yA/px7a9qrTjrYejC4q7ABT5AuqdxE5Ie
RTPKS2i3cMWdKV/L4aDYFdVr+z5hNSMHn04oso3YQVQ52d9JQurNjsJ/upgcCub1
kM7oJUeFYis4VgS+nyLYBXY0GTku6aheM/+Z0xTEvIc3Cfzb94aCqnGwHe+TvxN0
zCKhm4bUO4HE5UQzHXO9oxMlOlI7hDAUTSfhT0FpOtxnmisl+XFRSGSvJmNbK4jJ
8dlqIuXsSh4X9NPEnhPz1ieg4+hcUelg5SvSNLNAVQPmm1nNluwYhT41iU+seiiJ
A3uUJEECgYEA2fAS32IQox/8+OpKPipvR13tHek04AsJSGuNiio8qXlQorlXBRYE
esOEEYJyKiNWZ7NXTCAjyDiRp48aM62Fy1ykDR4IbDb8JRAdZpJBCjy5U5BKfZTY
jR3rZOA+8Bivozmtdv+0RGxhffSIGPpB1/4Dgmkw375Y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ZQ3qlPAZRZzBK/0UXqsc9CbCdi
mLxxsQKBgHDcBTx+8oBSPrAISIC77J9QhRO4C1m1/yHhlmpZNFlELemAJrU8Crj2
rRahy7CHCnCihhU13GpM+IzDX5Kxj/mHEuxGV/Q1v2Q7QuLFH3WBIlRkKx7ktpvP
aEzZRttgUN1bGLE9xFmll6wMjIqAeCQVNOaZoB//UVWiPdg1PsM2
-----END RSA PRIVATE KEY-----
40 changes: 20 additions & 20 deletions test/config/integration/certs/server_ecdsacert.pem
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDljCCAn6gAwIBAgIJAILStmLgUUcWMA0GCSqGSIb3DQEBCwUAMHYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1TYW4gRnJhbmNp
c2NvMQ0wCwYDVQQKDARMeWZ0MRkwFwYDVQQLDBBMeWZ0IEVuZ2luZWVyaW5nMRAw
DgYDVQQDDAdUZXN0IENBMB4XDTE4MTIxNzIwMTgwMFoXDTIwMTIxNjIwMTgwMFow
gaYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1T
YW4gRnJhbmNpc2NvMQ0wCwYDVQQKDARMeWZ0MRkwFwYDVQQLDBBMeWZ0IEVuZ2lu
ZWVyaW5nMRowGAYDVQQDDBFUZXN0IEJhY2tlbmQgVGVhbTEkMCIGCSqGSIb3DQEJ
ARYVYmFja2VuZC10ZWFtQGx5ZnQuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD
QgAEgVE4DzGyifdO4yefn1bEhFfkTrUjfV3Lay9NQz6D1SosrCnk7KZtl6Nbc/U6
KiGlN+9GpD0ulKEljgjn7TTtT6OBwDCBvTAMBgNVHRMBAf8EAjAAMAsGA1UdDwQE
AwIF4DAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwEwQQYDVR0RBDowOIYe
c3BpZ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