diff --git a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_intermediate_cert.der b/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_intermediate_cert.der deleted file mode 100644 index 958f3cfaddf..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_intermediate_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_leaf_cert.der b/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_leaf_cert.der deleted file mode 100644 index d2817641baf..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_leaf_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_root_cert.der b/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_root_cert.der deleted file mode 100644 index d8c3710c85f..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/client_root_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_intermediate_cert.der b/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_intermediate_cert.der deleted file mode 100644 index dae619c0975..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_intermediate_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_leaf_cert.der b/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_leaf_cert.der deleted file mode 100644 index ce7f8d31d68..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_leaf_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_root_cert.der b/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_root_cert.der deleted file mode 100644 index 04b0d73600b..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/certverifier/testdata/server_root_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_cert.der b/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_cert.der deleted file mode 100644 index d8c3710c85f..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_cert.pem b/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_cert.pem deleted file mode 100644 index 493a5a26481..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIUKXNlBRVe6UepjQUijIFPZBd/4qYwDQYJKoZIhvcNAQEL -BQAwgYcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1UEBwwJU3Vubnl2 -YWxlMRAwDgYDVQQKDAdDb21wYW55MREwDwYDVQQLDAhEaXZpc2lvbjEWMBQGA1UE -AwwNczJhX3Rlc3RfY2VydDEaMBgGCSqGSIb3DQEJARYLeHl6QHh5ei5jb20wHhcN -MjIwNTMxMjAwMzE1WhcNNDIwNTI2MjAwMzE1WjCBhzELMAkGA1UEBhMCVVMxCzAJ -BgNVBAgMAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxEDAOBgNVBAoMB0NvbXBhbnkx -ETAPBgNVBAsMCERpdmlzaW9uMRYwFAYDVQQDDA1zMmFfdGVzdF9jZXJ0MRowGAYJ -KoZIhvcNAQkBFgt4eXpAeHl6LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBAOOFuIucH7XXfohGxKd3uR/ihUA/LdduR9I8kfpUEbq5BOt8xZe5/Yn9 -a1ozEHVW6cOAbHbnwAR8tkSgZ/t42QIA2k77HWU1Jh2xiEIsJivo3imm4/kZWuR0 -OqPh7MhzxpR/hvNwpI5mJsAVBWFMa5KtecFZLnyZtwHylrRN1QXzuLrOxuKFufK3 -RKbTABScn5RbZL976H/jgfSeXrbt242NrIoBnVe6fRbekbq2DQ6zFArbQMUgHjHK -P0UqBgdr1QmHfi9KytFyx9BTP3gXWnWIu+bY7/v7qKJMHFwGETo+dCLWYevJL316 -HnLfhApDMfP8U+Yv/y1N/YvgaSOSlEcCAwEAAaNTMFEwHQYDVR0OBBYEFKhAU4nu -0h/lrnggbIGvx4ej0WklMB8GA1UdIwQYMBaAFKhAU4nu0h/lrnggbIGvx4ej0Wkl -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAE/6NghzQ5fu6yR6 -EHKbj/YMrFdT7aGn5n2sAf7wJ33LIhiFHkpWBsVlm7rDtZtwhe891ZK/P60anlg9 -/P0Ua53tSRVRmCvTnEbXWOVMN4is6MsR7BlmzUxl4AtIn7jbeifEwRL7B4xDYmdA -QrQnsqoz45dLgS5xK4WDqXATP09Q91xQDuhud/b+A4jrvgwFASmL7rMIZbp4f1JQ -nlnl/9VoTBQBvJiWkDUtQDMpRLtauddEkv4AGz75p5IspXWD6cOemuh2iQec11xD -X20rs2WZbAcAiUa3nmy8OKYw435vmpj8gp39WYbX/Yx9TymrFFbVY92wYn+quTco -pKklVz0= ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_key.pem b/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_key.pem deleted file mode 100644 index 55a7f10c742..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/client_key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEA44W4i5wftdd+iEbEp3e5H+KFQD8t125H0jyR+lQRurkE63zF -l7n9if1rWjMQdVbpw4BsdufABHy2RKBn+3jZAgDaTvsdZTUmHbGIQiwmK+jeKabj -+Rla5HQ6o+HsyHPGlH+G83CkjmYmwBUFYUxrkq15wVkufJm3AfKWtE3VBfO4us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6if+3ral2xOGsl7oPZVMo/J2V -Z7EVqb4M6rd/pKFugTpUQgkwtkSOekhpcGD1hAN5HTNK2YG/+L5UMAsKe9sskwJm -HgOfAHy0BSDzW3ey6i9skg2bT9Cww+0gJ3Hl7U1HSCBO5LjMYpSZSrNtwzfqdb5Q -BX3xAoGARZdR28Ej3+/+0+fz47Yu2h4z0EI/EbrudLOWY936jIeAVwHckI3+BuqH -qR4poj1gfbnMxNuI9UzIXzjEmGewx9kDZ7IYnvloZKqoVQODO5GlKF2ja6IcMNlh -GCNdD6PSAS6HcmalmWo9sj+1YMkrl+GJikKZqVBHrHNwMGAG67w= ------END RSA PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_cert.der b/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_cert.der deleted file mode 100644 index 04b0d73600b..00000000000 Binary files a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_cert.der and /dev/null differ diff --git a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_cert.pem b/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_cert.pem deleted file mode 100644 index 0f98322c724..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIUKCoDuLtiZXvhsBY2RoDm0ugizJ8wDQYJKoZIhvcNAQEL -BQAwgYcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1UEBwwJU3Vubnl2 -YWxlMRAwDgYDVQQKDAdDb21wYW55MREwDwYDVQQLDAhEaXZpc2lvbjEWMBQGA1UE -AwwNczJhX3Rlc3RfY2VydDEaMBgGCSqGSIb3DQEJARYLeHl6QHh5ei5jb20wHhcN -MjIwNTMxMjAwODI1WhcNNDIwNTI2MjAwODI1WjCBhzELMAkGA1UEBhMCVVMxCzAJ -BgNVBAgMAkN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google/s2a-go/internal/v2/remotesigner/testdata/server_key.pem b/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_key.pem deleted file mode 100644 index 81afea783df..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/remotesigner/testdata/server_key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEAorX749dD4zeGNgf+/QrhQRiXmWPOk0zWLnZ5Az6AWiiiNPzs -8NJqmFN+zQ9fL89MCMcES8+Fak6mZBd8k1jOPBwK+DrqFuqS/779VNmIUsCwdqDO -QTP4VEmpPkSrsbkUvLDWLNfW7HI83u0ARYQSDt6qyJpcPcKrz5Ng31yOKs94XtFk -XzIUJgTGq9uj5hzpEvrHDX2JdVN9y1GBB7nzUpC4hjn8tejd1YMSKUV2wAMB7xcA -Rw7rh6w7DSDVS9cueldITXnWRcEVvewof9mMJ5wNgwIgwRvixYtJuWRLEnmw1KZc -gbjC2vZCeKLsJdmCdVitpAT8nKH40xAA26hJ0wIDAQABAoIBACaNR+lsD8G+XiZf -LqN1+HkcAo9tfnyYMAdCOtnx7SdviT9Uzi8hK/B7mAeuJLeHPlS2EuaDfPD7QaFl -jza6S+MiIdc+3kgfvESsVAnOoOY6kZUJ9NSuI6CU82y1iJjLaYZrv9NQMLRFPPb0 -4KOX709mosB1EnXvshW0rbc+jtDFhrm1SxMt+k9TuzmMxjbOeW4LOLXPgU8X1T3Q -Xy0hMZZtcgBs9wFIo8yCtmOixax9pnFE8rRltgDxTodn9LLdz1FieyntNgDksZ0P -nt4kV7Mqly7ELaea+Foaj244mKsesic2e3GhAlMRLun/VSunSf7mOCxfpITB8dp1 -drDhOYECgYEA19151dVxRcviuovN6Dar+QszMTnU8pDJ8BjLFjXjP/hNBBwMTHDE -duMuWk2qnwZqMooI/shxrF/ufmTgS0CFrh2+ANBZu27vWConJNXcyNtdigI4wt50 -L0Y2qcZn2mg67qFXHwoR3QNwrwnPwEjRXA09at9CSRZzcwDQ0ETXhYsCgYEAwPaG -06QdK8Zyly7TTzZJwxzv9uGiqzodmGtX6NEKjgij2JaCxHpukqZBJoqa0jKeK1cm -eNVkOvT5ff9TMzarSHQLr3pZen2/oVLb5gaFkbcJt/klv9Fd+ZRilHY3i6QwS6pD -uMiPOWS4DrLHDRVoVlAZTDjT1RVwwTs+P2NhJdkCgYEAsriXysbxBYyMp05gqEW7 -lHIFbFgpSrs9th+Q5U6wW6JEgYaHWDJ1NslY80MiZI93FWjbkbZ7BvBWESeL3EIL -a+EMErht0pVCbIhZ6FF4foPAqia0wAJVx14mm+G80kNBp5jE/NnleEsE3KcO7nBb -hg8gLn+x7bk81JZ0TDrzBYkCgYEAuQKluv47SeF3tSScTfKLPpvcKCWmxe1uutkQ -7JShPhVioyOMNb39jnYBOWbjkm4d4QgqRuiytSR0oi3QI+Ziy5EYMyNn713qAk9j -r2TJZDDPDKnBW+zt4YI4EohWMXk3JRUW4XDKggjjwJQA7bZ812TtHHvP/xoThfG7 -eSNb3eECgYBw6ssgCtMrdvQiEmjKVX/9yI38mvC2kSGyzbrQnGUfgqRGomRpeZuD -B5E3kysA4td5pT5lvcLgSW0TbOz+YbiriXjwOihPIelCvc9gE2eOUI71/byUWPFz -7u5F/xQ4NaGr5suLF+lBC6h7pSbM4El9lIHQAQadpuEdzHqrw+hs3g== ------END RSA PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/testdata/client_cert.pem b/vendor/github.com/google/s2a-go/internal/v2/testdata/client_cert.pem deleted file mode 100644 index 493a5a26481..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/testdata/client_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIUKXNlBRVe6UepjQUijIFPZBd/4qYwDQYJKoZIhvcNAQEL -BQAwgYcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1UEBwwJU3Vubnl2 -YWxlMRAwDgYDVQQKDA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A4jrvgwFASmL7rMIZbp4f1JQ -nlnl/9VoTBQBvJiWkDUtQDMpRLtauddEkv4AGz75p5IspXWD6cOemuh2iQec11xD -X20rs2WZbAcAiUa3nmy8OKYw435vmpj8gp39WYbX/Yx9TymrFFbVY92wYn+quTco -pKklVz0= ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/testdata/client_key.pem b/vendor/github.com/google/s2a-go/internal/v2/testdata/client_key.pem deleted file mode 100644 index 55a7f10c742..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/testdata/client_key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEA44W4i5wftdd+iEbEp3e5H+KFQD8t125H0jyR+lQRurkE63zF -l7n9if1rWjMQdVbpw4BsdufABHy2RKBn+3jZAgDaTvsdZTUmHbGIQiwmK+jeKabj -+Rla5HQ6o+HsyHPGlH+G83CkjmYmwBUFYUxrkq15wVkufJm3AfKWtE3VBfO4us7G -4oW58rdEptMAFJyflFtkv3vof+OB9J5etu3bjY2sigGdV7p9Ft6RurYNDrMUCttA -xSAeMco/RSoGB2vVCYd+L0rK0XLH0FM/eBdadYi75tjv+/uookwcXAYROj50ItZh -68kvfXoect+ECkMx8/xT5i//LU39i+BpI5KURwIDAQABAoIBABgyjo/6iLzUMFbZ -/+w3pW6orrdIgN2akvTfED9pVYFgUA+jc3hRhY95bkNnjuaL2cy7Cc4Tk65mfRQL -Y0OxdJLr+EvSFSxAXM9npDA1ddHRsF8JqtFBSxNk8R+g1Yf0GDiO35Fgd3/ViWWA -VtQkRoSRApP3oiQKTRZd8H04keFR+PvmDk/Lq11l3Kc24A1PevKIPX1oI990ggw9 -9i4uSV+cnuMxmcI9xxJtgwdDFdjr39l2arLOHr4s6LGoV2IOdXHNlv5xRqWUZ0FH -MDHowkLgwDrdSTnNeaVNkce14Gqx+bd4hNaLCdKXMpedBTEmrut3f3hdV1kKjaKt -aqRYr8ECgYEA/YDGZY2jvFoHHBywlqmEMFrrCvQGH51m5R1Ntpkzr+Rh3YCmrpvq -xgwJXING0PUw3dz+xrH5lJICrfNE5Kt3fPu1rAEy+13mYsNowghtUq2Rtu0Hsjjx -2E3Bf8vEB6RNBMmGkUpTTIAroGF5tpJoRvfnWax+k4pFdrKYFtyZdNcCgYEA5cNv -EPltvOobjTXlUmtVP3n27KZN2aXexTcagLzRxE9CV4cYySENl3KuOMmccaZpIl6z -aHk6BT4X+M0LqElNUczrInfVqI+SGAFLGy7W6CJaqSr6cpyFUP/fosKpm6wKGgLq -udHfpvz5rckhKd8kJxFLvhGOK9yN5qpzih0gfhECgYAJfwRvk3G5wYmYpP58dlcs -VIuPenqsPoI3PPTHTU/hW+XKnWIhElgmGRdUrto9Q6IT/Y5RtSMLTLjq+Tzwb/fm -56rziYv2XJsfwgAvnI8z1Kqrto9ePsHYf3krJ1/thVsZPc9bq/QY3ohD1sLvcuaT -GgBBnLOVJU3a12/ZE2RwOwKBgF0csWMAoj8/5IB6if+3ral2xOGsl7oPZVMo/J2V -Z7EVqb4M6rd/pKFugTpUQgkwtkSOekhpcGD1hAN5HTNK2YG/+L5UMAsKe9sskwJm -HgOfAHy0BSDzW3ey6i9skg2bT9Cww+0gJ3Hl7U1HSCBO5LjMYpSZSrNtwzfqdb5Q -BX3xAoGARZdR28Ej3+/+0+fz47Yu2h4z0EI/EbrudLOWY936jIeAVwHckI3+BuqH -qR4poj1gfbnMxNuI9UzIXzjEmGewx9kDZ7IYnvloZKqoVQODO5GlKF2ja6IcMNlh -GCNdD6PSAS6HcmalmWo9sj+1YMkrl+GJikKZqVBHrHNwMGAG67w= ------END RSA PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/testdata/server_cert.pem b/vendor/github.com/google/s2a-go/internal/v2/testdata/server_cert.pem deleted file mode 100644 index 0f98322c724..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/testdata/server_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEG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lEJV7/DSvWWKBd9MUjfKye0A4565ya5lmnzP3DiD3nqGe3miqmLsXKDs+X -POqlPXTWIamP7D4MJ32XtSLwZB4ru+I+Ao/P/VngPepoRPQoBnzHe7jww0rokqxl -AZERjlbTUwUAy/BPWPSzSJZ2j0tcs6ZLDNyYzpK4ao8R9/1VmQ92Tcp3feJs1QTg -odRQc3om/AkWOwsll+oyX0UbJeHkFHiLanUPXbdh+/BkSvZJ8ynL+feSDdaurPe+ -PSfnqLtQft9/neecGRdEaQzzzSFVQUVQzTdK1Q7hA7b55b2HvIa3ktDiks+sJsYN -Dhm6uZM= ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/testdata/server_key.pem b/vendor/github.com/google/s2a-go/internal/v2/testdata/server_key.pem deleted file mode 100644 index 81afea783df..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/testdata/server_key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEAorX749dD4zeGNgf+/QrhQRiXmWPOk0zWLnZ5Az6AWiiiNPzs -8NJqmFN+zQ9fL89MCMcES8+Fak6mZBd8k1jOPBwK+DrqFuqS/779VNmIUsCwdqDO -QTP4VEmpPkSrsbkUvLDWLNfW7HI83u0ARYQSDt6qyJpcPcKrz5Ng31yOKs94XtFk -XzIUJgTGq9uj5hzpEvrHDX2JdVN9y1GBB7nzUpC4hjn8tejd1YMSKUV2wAMB7xcA -Rw7rh6w7DSDVS9cueldITXnWRcEVvewof9mMJ5wNgwIgwRvixYtJuWRLEnmw1KZc -gbjC2vZCeKLsJdmCdVitpAT8nKH40xAA26hJ0wIDAQABAoIBACaNR+lsD8G+XiZf -LqN1+HkcAo9tfnyYMAdCOtnx7SdviT9Uzi8hK/B7mAeuJLeHPlS2EuaDfPD7QaFl -jza6S+MiIdc+3kgfvESsVAnOoOY6kZUJ9NSuI6CU82y1iJjLaYZrv9NQMLRFPPb0 -4KOX709mosB1EnXvshW0rbc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diff --git a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/client_cert.pem b/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/client_cert.pem deleted file mode 100644 index 493a5a26481..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/client_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIUKXNlBRVe6UepjQUijIFPZBd/4qYwDQYJKoZIhvcNAQEL -BQAwgYcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1UEBwwJU3Vubnl2 -YWxlMRAwDgYDVQQKDAdDb21wYW55MREwDwYDVQQLDAhEaXZpc2lvbjEWMBQGA1UE -AwwNczJhX3Rlc3RfY2VydDEaMBgGCSqGSIb3DQEJARYLeHl6QHh5ei5jb20wHhcN -MjIwNTMxMjAwMzE1WhcNNDIwNTI2MjAwMzE1WjCBhzELMAkGA1UEBhMCVVMxCzAJ -BgNVBAgMAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxEDAOBgNVBAoMB0NvbXBhbnkx -ETAPBgNVBAsMCERpdmlzaW9uMRYwFAYDVQQDDA1zMmFfdGVzdF9jZXJ0MRowGAYJ -KoZIhvcNAQkBFgt4eXpAeHl6LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBAOOFuIucH7XXfohGxKd3uR/ihUA/LdduR9I8kfpUEbq5BOt8xZe5/Yn9 -a1ozEHVW6cOAbHbnwAR8tkSgZ/t42QIA2k77HWU1Jh2xiEIsJivo3imm4/kZWuR0 -OqPh7MhzxpR/hvNwpI5mJsAVBWFMa5KtecFZLnyZtwHylrRN1QXzuLrOxuKFufK3 -RKbTABScn5RbZL976H/jgfSeXrbt242NrIoBnVe6fRbekbq2DQ6zFArbQMUgHjHK -P0UqBgdr1QmHfi9KytFyx9BTP3gXWnWIu+bY7/v7qKJMHFwGETo+dCLWYevJL316 -HnLfhApDMfP8U+Yv/y1N/YvgaSOSlEcCAwEAAaNTMFEwHQYDVR0OBBYEFKhAU4nu -0h/lrnggbIGvx4ej0WklMB8GA1UdIwQYMBaAFKhAU4nu0h/lrnggbIGvx4ej0Wkl -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAE/6NghzQ5fu6yR6 -EHKbj/YMrFdT7aGn5n2sAf7wJ33LIhiFHkpWBsVlm7rDtZtwhe891ZK/P60anlg9 -/P0Ua53tSRVRmCvTnEbXWOVMN4is6MsR7BlmzUxl4AtIn7jbeifEwRL7B4xDYmdA -QrQnsqoz45dLgS5xK4WDqXATP09Q91xQDuhud/b+A4jrvgwFASmL7rMIZbp4f1JQ -nlnl/9VoTBQBvJiWkDUtQDMpRLtauddEkv4AGz75p5IspXWD6cOemuh2iQec11xD -X20rs2WZbAcAiUa3nmy8OKYw435vmpj8gp39WYbX/Yx9TymrFFbVY92wYn+quTco -pKklVz0= ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/client_key.pem b/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/client_key.pem deleted file mode 100644 index 55a7f10c742..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/client_key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEA44W4i5wftdd+iEbEp3e5H+KFQD8t125H0jyR+lQRurkE63zF -l7n9if1rWjMQdVbpw4BsdufABHy2RKBn+3jZAgDaTvsdZTUmHbGIQiwmK+jeKabj -+Rla5HQ6o+HsyHPGlH+G83CkjmYmwBUFYUxrkq15wVkufJm3AfKWtE3VBfO4us7G -4oW58rdEptMAFJyflFtkv3vof+OB9J5etu3bjY2sigGdV7p9Ft6RurYNDrMUCttA -xSAeMco/RSoGB2vVCYd+L0rK0XLH0FM/eBdadYi75tjv+/uookwcXAYROj50ItZh -68kvfXoect+ECkM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O5LjMYpSZSrNtwzfqdb5Q -BX3xAoGARZdR28Ej3+/+0+fz47Yu2h4z0EI/EbrudLOWY936jIeAVwHckI3+BuqH -qR4poj1gfbnMxNuI9UzIXzjEmGewx9kDZ7IYnvloZKqoVQODO5GlKF2ja6IcMNlh -GCNdD6PSAS6HcmalmWo9sj+1YMkrl+GJikKZqVBHrHNwMGAG67w= ------END RSA PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/server_cert.pem b/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/server_cert.pem deleted file mode 100644 index 0f98322c724..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/server_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIUKCoDuLtiZXvhsBY2RoDm0ugizJ8wDQYJKoZIhvcNAQEL -BQAwgYcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1UEBwwJU3Vubnl2 -YWxlMRAwDgYDVQQKDAdDb21wYW55MREwDwYDVQQLDAhEaXZpc2lvbjEWMBQGA1UE -AwwNczJhX3Rlc3RfY2VydDEaMBgGCSqGSIb3DQEJARYLeHl6QHh5ei5jb20wHhcN -MjIwNTMxMjAwODI1WhcNNDIwNTI2MjAwODI1WjCBhzELMAkGA1UEBhMCVVMxCzAJ -BgNVBAgMAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxEDAOBgNVBAoMB0NvbXBhbnkx -ETAPBgNVBAsMCERpdmlzaW9uMRYwFAYDVQQDDA1zMmFfdGVzdF9jZXJ0MRowGAYJ -KoZIhvcNAQkBFgt4eXpAeHl6LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBAKK1++PXQ+M3hjYH/v0K4UEYl5ljzpNM1i52eQM+gFooojT87PDSaphT -fs0PXy/PTAjHBEvPhWpOpmQXfJNYzjwcCvg66hbqkv++/VTZiFLAsHagzkEz+FRJ -qT5Eq7G5FLyw1izX1uxyPN7tAEWEEg7eqsiaXD3Cq8+TYN9cjirPeF7RZF8yFCYE -xqvbo+Yc6RL6xw19iXVTfctRgQe581KQuIY5/LXo3dWDEilFdsADAe8XAEcO64es -Ow0g1UvXLnpXSE151kXBFb3sKH/ZjCecDYMCIMEb4sWLSblkSxJ5sNSmXIG4wtr2 -Qnii7CXZgnVYraQE/Jyh+NMQANuoSdMCAwEAAaNTMFEwHQYDVR0OBBYEFAyQQQuM -ab+YUQqjK8dVVOoHVFmXMB8GA1UdIwQYMBaAFAyQQQuMab+YUQqjK8dVVOoHVFmX -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADj0vQ6ykWhicoqR -e6VZMwlEJV7/DSvWWKBd9MUjfKye0A4565ya5lmnzP3DiD3nqGe3miqmLsXKDs+X -POqlPXTWIamP7D4MJ32XtSLwZB4ru+I+Ao/P/VngPepoRPQoBnzHe7jww0rokqxl -AZERjlbTUwUAy/BPWPSzSJZ2j0tcs6ZLDNyYzpK4ao8R9/1VmQ92Tcp3feJs1QTg -odRQc3om/AkWOwsll+oyX0UbJeHkFHiLanUPXbdh+/BkSvZJ8ynL+feSDdaurPe+ -PSfnqLtQft9/neecGRdEaQzzzSFVQUVQzTdK1Q7hA7b55b2HvIa3ktDiks+sJsYN -Dhm6uZM= ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/server_key.pem b/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/server_key.pem deleted file mode 100644 index 81afea783df..00000000000 --- a/vendor/github.com/google/s2a-go/internal/v2/tlsconfigstore/testdata/server_key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEAorX749dD4zeGNgf+/QrhQRiXmWPOk0zWLnZ5Az6AWiiiNPzs -8NJqmFN+zQ9fL89MCMcES8+Fak6mZBd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Erht0pVCbIhZ6FF4foPAqia0wAJVx14mm+G80kNBp5jE/NnleEsE3KcO7nBb -hg8gLn+x7bk81JZ0TDrzBYkCgYEAuQKluv47SeF3tSScTfKLPpvcKCWmxe1uutkQ -7JShPhVioyOMNb39jnYBOWbjkm4d4QgqRuiytSR0oi3QI+Ziy5EYMyNn713qAk9j -r2TJZDDPDKnBW+zt4YI4EohWMXk3JRUW4XDKggjjwJQA7bZ812TtHHvP/xoThfG7 -eSNb3eECgYBw6ssgCtMrdvQiEmjKVX/9yI38mvC2kSGyzbrQnGUfgqRGomRpeZuD -B5E3kysA4td5pT5lvcLgSW0TbOz+YbiriXjwOihPIelCvc9gE2eOUI71/byUWPFz -7u5F/xQ4NaGr5suLF+lBC6h7pSbM4El9lIHQAQadpuEdzHqrw+hs3g== ------END RSA PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/testdata/client_cert.pem b/vendor/github.com/google/s2a-go/testdata/client_cert.pem deleted file mode 100644 index 493a5a26481..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/client_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIUKXNlBRVe6UepjQUijIFPZBd/4qYwDQYJKoZIhvcNAQEL -BQAwgYcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1UEBwwJU3Vubnl2 -YWxlMRAwDgYDVQQKDAdDb21wYW55MREwDwYDVQQLDAhEaXZpc2lvbjEWMBQGA1UE -AwwNczJhX3Rlc3RfY2VydDEaMBgGCSqGSIb3DQEJARYLeHl6QHh5ei5jb20wHhcN -MjIwNTMxMjAwMzE1WhcNNDIwNTI2MjAwMzE1WjCBhzELMAkGA1UEBhMCVVMxCzAJ -BgNVBAgMAkNBMRIwEAYDVQQHDAlTdW5ueXZhbGUxEDAOBgNVBAoMB0NvbXBhbnkx -ETAPBgNVBAsMCERpdmlzaW9uMRYwFAYDVQQDDA1zMmFfdGVzdF9jZXJ0MRowGAYJ -KoZIhvcNAQkBFgt4eXpAeHl6LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBAOOFuIucH7XXfohGxKd3uR/ihUA/LdduR9I8kfpUEbq5BOt8xZe5/Yn9 -a1ozEHVW6cOAbHbnwAR8tkSgZ/t42QIA2k77HWU1Jh2xiEIsJivo3imm4/kZWuR0 -OqPh7MhzxpR/hvNwpI5mJsAVBWFMa5KtecFZLnyZtwHylrRN1QXzuLrOxuKFufK3 -RKbTABScn5RbZL976H/jgfSeXrbt242NrIoBnVe6fRbekbq2DQ6zFArbQMUgHjHK -P0UqBgdr1QmHfi9KytFyx9BTP3gXWnWIu+bY7/v7qKJMHFwGETo+dCLWYevJL316 -HnLfhApDMfP8U+Yv/y1N/YvgaSOSlEcCAwEAAaNTMFEwHQYDVR0OBBYEFKhAU4nu -0h/lrnggbIGvx4ej0WklMB8GA1UdIwQYMBaAFKhAU4nu0h/lrnggbIGvx4ej0Wkl -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAE/6NghzQ5fu6yR6 -EHKbj/YMrFdT7aGn5n2sAf7wJ33LIhiFHkpWBsVlm7rDtZtwhe891ZK/P60anlg9 -/P0Ua53tSRVRmCvTnEbXWOVMN4is6MsR7BlmzUxl4AtIn7jbeifEwRL7B4xDYmdA -QrQnsqoz45dLgS5xK4WDqXATP09Q91xQDuhud/b+A4jrvgwFASmL7rMIZbp4f1JQ -nlnl/9VoTBQBvJiWkDUtQDMpRLtauddEkv4AGz75p5IspXWD6cOemuh2iQec11xD -X20rs2WZbAcAiUa3nmy8OKYw435vmpj8gp39WYbX/Yx9TymrFFbVY92wYn+quTco -pKklVz0= ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/testdata/client_key.pem b/vendor/github.com/google/s2a-go/testdata/client_key.pem deleted file mode 100644 index 55a7f10c742..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/client_key.pem +++ /dev/null @@ -1,27 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LvhGOK9yN5qpzih0gfhECgYAJfwRvk3G5wYmYpP58dlcs -VIuPenqsPoI3PPTHTU/hW+XKnWIhElgmGRdUrto9Q6IT/Y5RtSMLTLjq+Tzwb/fm -56rziYv2XJsfwgAvnI8z1Kqrto9ePsHYf3krJ1/thVsZPc9bq/QY3ohD1sLvcuaT -GgBBnLOVJU3a12/ZE2RwOwKBgF0csWMAoj8/5IB6if+3ral2xOGsl7oPZVMo/J2V -Z7EVqb4M6rd/pKFugTpUQgkwtkSOekhpcGD1hAN5HTNK2YG/+L5UMAsKe9sskwJm -HgOfAHy0BSDzW3ey6i9skg2bT9Cww+0gJ3Hl7U1HSCBO5LjMYpSZSrNtwzfqdb5Q -BX3xAoGARZdR28Ej3+/+0+fz47Yu2h4z0EI/EbrudLOWY936jIeAVwHckI3+BuqH -qR4poj1gfbnMxNuI9UzIXzjEmGewx9kDZ7IYnvloZKqoVQODO5GlKF2ja6IcMNlh -GCNdD6PSAS6HcmalmWo9sj+1YMkrl+GJikKZqVBHrHNwMGAG67w= ------END RSA PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/testdata/mds_client_cert.pem b/vendor/github.com/google/s2a-go/testdata/mds_client_cert.pem deleted file mode 100644 index 60c4cf06915..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/mds_client_cert.pem +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDCDCCAfACFFlYsYCFit01ZpYmfjxpo7/6wMEbMA0GCSqGSIb3DQEBCwUAMEgx -CzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTEPMA0GA1UECgwGR29vZ2xlMRswGQYD -VQQDDBJ0ZXN0LXMyYS1tdGxzLXJvb3QwHhcNMjMwODIyMTY0NTE4WhcNNDMwODIy -MTY0NTE4WjA5MQswCQYDVQQGEwJVUzELMAkGA1UECAwCQ0ExHTAbBgNVBAMMFHRl -c3QtczJhLW10bHMtY2xpZW50MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAqrQQMyxNtmdCB+uY3szgRsfPrKC+TV9Fusnd8PfaCVuGTGcSBKM018nV2TDn -3IYFQ1HgLpGwGwOFDBb3y0o9i2/l2VJySriX1GSNX6nDmVasQlO1wuOLCP7/LRmO -7b6Kise5W0IFhYaptKyWnekn2pS0tAjimqpfn2w0U6FDGtQUqg/trQQmGtTSJHjb -A+OFd0EFC18KGP8Q+jOMaMkJRmpeEiAPyHPDoMhqQNT26RApv9j2Uzo4SuXzHH6T -cAdm1+zG+EXY/UZKX9oDkSbwIJvN+gCmNyORLalJ12gsGYOCjMd8K0mlXBqrmmbO -VHVbUm9062lhE7x59AA8DK4DoQIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQCPOvtL -dq2hxFHlIy0YUK8jp/DtwJZPwzx1id5FtWwd0CxBS1StIgmkHMxtkJGz1iyQLplI -je+Msd4sTsb5zZi/8kGKehi8Wj4lghp4oP30cpob41OvM68M9RC/wSOVk9igSww+ -l3zof6wKRIswsi5VHrL16ruIVVoDlyFbKr8yk+cp9OPOV8hNNN7ewY9xC8OgnTt8 -YtdaLe6uTplKBLW+j3GtshigRhyfkGJyPFYL4LAeDJCHlC1qmBnkyP0ijMp6vneM -E8TLavnMTMcpihWTWpyKeRkO6HDRsP4AofQAp7VAiAdSOplga+w2qgrVICV+m8MK -BTq2PBvc59T6OFLq ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/testdata/mds_client_key.pem b/vendor/github.com/google/s2a-go/testdata/mds_client_key.pem deleted file mode 100644 index 9d112d1e9ff..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/mds_client_key.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCqtBAzLE22Z0IH -65jezOBGx8+soL5NX0W6yd3w99oJW4ZMZxIEozTXydXZMOfchgVDUeAukbAbA4UM -FvfLSj2Lb+XZUnJKuJfUZ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6Fs -FPK8N0FFuhvT0a8RlAY5WiAp8rPysp6WcnHMSl7qi8BQUozp4Sp/RsziYQKBgBXv -r4mzoy5a53rEYGd/L4XT4EUWZyGDEVqLlDVu4eL5lKTLDZokp08vrqXuRVX0iHap -CYzJQ2EpI8iuL/BoBB2bmwcz5n3pCMXORld5t9lmeqA2it6hwbIlGUTVsm6P6zm6 -w3hQwy9YaxTLkxUAjxbfPEEo/jQsTNzzMGve3NlBAoGAbgJExpDyMDnaD2Vi5eyr -63b54BsqeLHqxJmADifyRCj7G1SJMm3zMKkNNOS0vsXgoiId973STFf1XQiojiv8 -Slbxyv5rczcY0n3LOuQYcM5OzsjzpNFZsT2dDnMfNRUF3rx3Geu/FuJ9scF1b00r -fVMrcL3jSf/W1Xh4TgtyoU8= ------END PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/testdata/mds_root_cert.pem b/vendor/github.com/google/s2a-go/testdata/mds_root_cert.pem deleted file mode 100644 index 44e436f6ec7..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/mds_root_cert.pem +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDcTCCAlmgAwIBAgIUDUkgI+2FZtuUHyUUi0ZBH7JvN00wDQYJKoZIhvcNAQEL -BQAwSDELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMQ8wDQYDVQQKDAZHb29nbGUx -GzAZBgNVBAMMEnRlc3QtczJhLW10bHMtcm9vdDAeFw0yMzA4MjEyMTI5MTVaFw00 -MzA4MjEyMTI5MTVaMEgxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTEPMA0GA1UE -CgwGR29vZ2xlMRswGQYDVQQDDBJ0ZXN0LXMyYS1tdGxzLXJvb3QwggEiMA0GCSqG -SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbFEQfpvla27bATedrN4BAWsI9GSwSnJLW -QWzXcnAk6cKxQBAhnaKHRxHY8ttLhNTtxQeub894CLzJvHE/0xDhuMzjtCCCZ7i2 -r08tKZ1KcEzPJCPNlxlzAXPA45XU3LRlbGvju/PBPhm6n1hCEKTNI/KETJ5DEaYg -Cf2LcXVsl/zW20MwDZ+e2w/9a2a6n6DdpW1ekOR550hXAUOIxvmXRBeYeGLFvp1n -rQgZBhRaxP03UB+PQD2oMi/4mfsS96uGCXdzzX8qV46O8m132HUbnA/wagIwboEe -d7Bx237dERDyHw5GFnll7orgA0FOtoEufXdeQxWVvTjO0+PVPgsvAgMBAAGjUzBR -MB0GA1UdDgQWBBRyMtg/yutV8hw8vOq0i8x0eBQi7DAfBgNVHSMEGDAWgBRyMtg/ -yutV8hw8vOq0i8x0eBQi7DAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUA -A4IBAQArN/gdqWMxd5Rvq2eJMTp6I4RepJOT7Go4sMsRsy1caJqqcoS2EvREDZMN -XNEBcyQBB5kYd6TCcZGoLnEtWYXQ4jjEiXG1g7/+rWxyqw0ZYuP7FWzuHg3Uor/x -fApbEKwptP5ywVc+33h4qreGcqXkVCCn+sAcstGgrqubdGZW2T5gazUMyammOOuN -9IWL1PbvXmgEKD+80NUIrk09zanYyrElGdU/zw/kUbZ3Jf6WUBtJGhTzRQ1qZeKa -VnpCbLoG3vObEB8mxDUAlIzwAtfvw4U32BVIZA8xrocz6OOoAnSW1bTlo3EOIo/G -MTV7jmY9TBPtfhRuO/cG650+F+cw ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/testdata/mds_server_cert.pem b/vendor/github.com/google/s2a-go/testdata/mds_server_cert.pem deleted file mode 100644 index 68c60613458..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/mds_server_cert.pem +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDbjCCAlagAwIBAgIUbexZ5sZl86Al9dsI2PkOgtqKnkgwDQYJKoZIhvcNAQEL -BQAwSDELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMQ8wDQYDVQQKDAZHb29nbGUx -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------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/testdata/mds_server_key.pem b/vendor/github.com/google/s2a-go/testdata/mds_server_key.pem deleted file mode 100644 index b14ad0f724e..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/mds_server_key.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCMEzybsGPqfh92 -GLwy43mt8kQDF3ztr8y06RwU1hVnY7QqYK4obpvhHkJVnTz9gwNBF3n5nUalqRza -ctlf2PCydN9oSYNCO8svVmo7vw1CleKAKFAiV5QnH76QlqD15oJreh7nSM8R4qj5 -KukIHvt0cN0gD6CJQzIURDtsKJwkW3yQjYyT/FAKGYtFrB6buDn3Eg3Hsw6z7uj7 -CzLBsSl7BIGrQILbpbI9nFNT3rUTUhXZKY/3UtJAOb66AjTmMbD16RGYZR4JsPx6 -CstheifJ6YSI79r5KgD37zX0jMXFWimvb2SmZmFeLoohtC8K7uTyjm/dROx6nHXd -Dt5TQYXHAgMBAAECggEAIB5zGdIG/yh/Z1GBqfuOFaxFGx5iJ5BVlLAVH9P9IXFz -yPnVRXEjbinFlSMSbqEBeIX9EpcVMXxHIPIP1RIGEy2IYr3kiqXyT771ahDDZh6/ -Spqz0UQatSPqyvW3H9uE0Uc12dvQm23JSCUmPRX5m7gbhDQBIChXzdzdcU4Yi59V -4xmJUvbsAcLw5CBM6kwV+1NGVH9+3mUdhrr9M6B6+sVB/xnaqMGEDfQGiwL8U7EY -QOuc46KXu3Pd/qCdVLn60IrdjSzDJKeC5UZZ+ejNAo+DfbtOovBj3qu3OCUg4XVy -0CDBJ1sTdLvUfF4Gb+crjPsd+qBbXcjVfqdadwhsoQKBgQDBF1Pys/NitW8okJwp -2fiDIASP3TiI+MthWHGyuoZGPvmXQ3H6iuLSm8c/iYI2WPTf53Xff1VcFm1GmQms -GCsYM8Ax94zCeO6Ei1sYYxwcBloEZfOeV37MPA4pjJF4Lt+n5nveNxP+lrsjksJz -wToSEgWPDT1b/xcdt4/5j9J85wKBgQC5tiLx+33mwH4DoaFRmSl0+VuSNYFw6DTQ -SQ+kWqWGH4NENc9wf4Dj2VUZQhpXNhXVSxj+aP2d/ck1NrTJAWqYEXCDtFQOGSa2 -cGPRr+Fhy5NIEaEvR7IXcMBZzx3koYmWVBHricyrXs5FvHrT3N14mGDUG8n24U3f -R799bau0IQKBgQC97UM+lHCPJCWNggiJRgSifcje9VtZp1btjoBvq/bNe74nYkjn -htsrC91Fiu1Qpdlfr50K1IXSyaB886VG6JLjAGxI+dUzqJ38M9LLvxj0G+9JKjsi -AbAQFfZcOg8QZxLJZPVsE0MQhZTXndC06VhEVAOxvPUg214Sde8hK61/+wKBgCRw -O10VhnePT2pw/VEgZ0T/ZFtEylgYB7zSiRIrgwzVBBGPKVueePC8BPmGwdpYz2Hh -cU8B1Ll6QU+Co2hJMdwSl+wPpup5PuJPHRbYlrV0lzpt0x2OyL/WrLcyb2Ab3f40 -EqwPhqwdVwXR3JvTW1U9OMqFhVQ+kuP7lPQMX8NhAoGBAJOgZ7Tokipc4Mi68Olw -SCaOPvjjy4sW2rTRuKyjc1wTAzy7SJ3vXHfGkkN99nTLJFwAyJhWUpnRdwAXGi+x -gyOa95ImsEfRSwEjbluWfF8/P0IU8GR+ZTqT4NnNCOsi8T/xst4Szd1ECJNnnZDe -1ChfPP1AH+/75MJCvu6wQBQv ------END PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/testdata/self_signed_cert.pem b/vendor/github.com/google/s2a-go/testdata/self_signed_cert.pem deleted file mode 100644 index ad1bad59845..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/self_signed_cert.pem +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDITCCAgkCFBS8mLoytMpMWBwpAtnRaq3eIKnsMA0GCSqGSIb3DQEBCwUAME0x -CzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTENMAsGA1UECgwEVGVzdDEiMCAGA1UE -AwwZdGVzdC1zMmEtbXRscy1zZWxmLXNpZ25lZDAeFw0yMzA4MjIyMTE2MDFaFw00 -MzA4MjIyMTE2MDFaME0xCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTENMAsGA1UE -CgwEVGVzdDEiMCAGA1UEAwwZdGVzdC1zMmEtbXRscy1zZWxmLXNpZ25lZDCCASIw -DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKFFPsYasKZeCFLEXl3RpE/ZOXFe -2lhutIalSpZvCmso+mQGoZ4cHK7At+kDjBi5CrnXkYcw7quQAhHgU0frhWdj7tsW -HUUtq7T8eaGWKBnVD9fl+MjtAl1BmhXwV9qRBbj4EesSKGDSGpKf66dOtzw83JbB -cU7XlPAH1c1zo2GXC1himcZ+SVGHVrOjn4NmeFs8g94/Dke8dWkHwv5YTMVugFK4 -5KxKgSOKkr4ka7PCBzgxCnW4wYSZNRHcxrqkiArO2HAQq0ACr7u+fVDYH//9mP2Z -ADo/zch7O5yhkiNbjXJIRrptDWEuVYMRloYDhT773h7bV/Q0Wo0NQGtasJ8CAwEA -ATANBgkqhkiG9w0BAQsFAAOCAQEAPjbH0TMyegF/MDvglkc0sXr6DqlmTxDCZZmG -lYPZ5Xy062+rxIHghMARbvO4BxepiG37KsP2agvOldm4TtU8nQ8LyswmSIFm4BQ+ -XQWwdsWyYyd8l0d5sXAdaN6AXwy50fvqCepmEqyreMY6dtLzlwo9gVCBFB7QuAPt -Nc14phpEUZt/KPNuY6cUlB7bz3tmnFbwxUrWj1p0KBEYsr7+KEVZxR+z0wtlU7S9 -ZBrmUvx0fq5Ef7JWtHW0w4ofg1op742sdYl+53C26GZ76ts4MmqVz2/94DScgRaU -gT0GLVuuCZXRDVeTXqTb4mditRCfzFPe9cCegYhGhSqBs8yh5A== ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/testdata/self_signed_key.pem b/vendor/github.com/google/s2a-go/testdata/self_signed_key.pem deleted file mode 100644 index bcf08e4f12f..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/self_signed_key.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQChRT7GGrCmXghS -xF5d0aRP2TlxXtpYbrSGpUqWbwprKPpkBqGeHByuwLfpA4wYuQq515GHMO6rkAIR -4FNH64VnY+7bFh1FLau0/HmhligZ1Q/X5fjI7QJdQZoV8FfakQW4+BHrEihg0hqS -n+unTrc8PNyWwXFO15TwB9XNc6NhlwtYYpnGfklRh1azo5+DZnhbPIPePw5HvHVp -B8L+WEzFboBSuOSsSoEjipK+JGuzwgc4MQp1uMGEmTUR3Ma6pIgKzthwEKtAAq+7 -vn1Q2B///Zj9mQA6P83IezucoZIjW41ySEa6bQ1hLlWDEZaGA4U++94e21f0NFqN -DUBrWrCfAgMBAAECggEAR8e8YwyqJ8KezcgdgIC5M9kp2i4v3UCZFX0or8CI0J2S -pUbWVLuKgLXCpfIwPyjNf15Vpei/spkMcsx4BQDthdFTFSzIpmvni0z9DlD5VFYj -ESOJElV7wepbHPy2/c+izmuL/ic81aturGiFyRgeMq+cN3WuaztFTXkPTrzzsZGF -p/Mx3gqm7Hoc3d2xlv+8L5GjCtEJPlQgZJV+s3ennBjOAd8CC7d9qJetE3Er46pn -r5jedV3bQRZYBzmooYNHjbAs26++wYac/jTE0/U6nKS17eWq4BQZUtlMXUw5N81B -7LKn7C03rj2KCn+Nf5uin9ALmoy888LXCDdvL/NZkQKBgQDduv1Heu+tOZuNYUdQ -Hswmd8sVNAAWGZxdxixHMv58zrgbLFXSX6K89X2l5Sj9XON8TH46MuSFdjSwwWw5 -fBrhVEhA5srcqpvVWIBE05yqPpt0s1NQktMWJKELWlG8jOhVKwM5OYDpdxtwehpz -1g70XJz+nF/LTV8RdTK+OWDDpQKBgQC6MhdbGHUz/56dY3gZpE5TXnN2hkNbZCgk -emr6z85VHhQflZbedhCzB9PUnZnCKWOGQHQdxRTtRfd46LVboZqCdYO1ZNQv6toP -ysS7dTpZZFy7CpQaW0Y6/jS65jW6xIDKR1W40vgltZ3sfpG37JaowpzWdw2WuOnw -Bg0rcJAf8wKBgQCqE+p/z97UwuF8eufWnyj9QNo382E1koOMspv4KTdnyLETtthF -vDH6O1wbykG8xmmASLRyM+NyNA+KnXNETNvZh2q8zctBpGRQK8iIAsGjHM7ln0AD -B/x+ea5GJQuZU4RK/+lDFca6TjBwAFkWDVX/PqL18kDQkxKfM4SuwRhmOQKBgDGh -eoJIsa0LnP787Z2AI3Srf4F/ZmLs/ppCm1OBotEjdF+64v0nYWonUvqgi8SqfaHi -elEZIGvis4ViGj1zhRjzNAlc+AZRxpBhDzGcnNIJI4Kj3jhsTfsZmXqcNIQ1LtM8 -Uogyi/yZPaA1WKg7Aym2vlGYaGHdplXZdxc2KOSrAoGABRkD9l2OVcwK7RyNgFxo -mjxx0tfUdDBhHIi2igih1FiHpeP9E+4/kE/K7PnU9DoDrL1jW1MTpXaYV4seOylk -k9z/9QfcRa9ePD2N4FqbHWSYp5n3aLoIcGq/9jyjTwayZbbIhWO+vNuHE9wIvecZ -8x3gNkxJRb4NaLIoNzAhCoo= ------END PRIVATE KEY----- diff --git a/vendor/github.com/google/s2a-go/testdata/server_cert.pem b/vendor/github.com/google/s2a-go/testdata/server_cert.pem deleted file mode 100644 index 0f98322c724..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/server_cert.pem +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIID8TCCAtmgAwIBAgIUKCoDuLtiZXvhsBY2RoDm0ugizJ8wDQYJKoZIhvcNAQEL -BQAwgYcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1UEBwwJU3Vubnl2 -YWxlMRAwDgYDVQQKDAdDb21wYW55MREwDwYDVQQLDAhEaXZpc2lvbjEWMBQGA1UE -AwwNczJhX3Rlc3RfY2VydDEaMBg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L+feSDdaurPe+ -PSfnqLtQft9/neecGRdEaQzzzSFVQUVQzTdK1Q7hA7b55b2HvIa3ktDiks+sJsYN -Dhm6uZM= ------END CERTIFICATE----- diff --git a/vendor/github.com/google/s2a-go/testdata/server_key.pem b/vendor/github.com/google/s2a-go/testdata/server_key.pem deleted file mode 100644 index 81afea783df..00000000000 --- a/vendor/github.com/google/s2a-go/testdata/server_key.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEpAIBAAKCAQEAorX749dD4zeGNgf+/QrhQRiXmWPOk0zWLnZ5Az6AWiiiNPzs -8NJqmFN+zQ9fL89MCMcES8+Fak6mZBd8k1jOPBwK+DrqFuqS/779VNmIUsCwdqDO -QTP4VEmpPkSrsbkUvLDWLNfW7HI83u0ARYQSDt6qyJpcPcKrz5Ng31yOKs94XtFk -XzIUJgTGq9uj5hzpEvrHDX2JdVN9y1GBB7nzUpC4hjn8tejd1YMSKUV2wAMB7xcA -Rw7rh6w7DSDVS9cueldITXnWRcEVvewof9mMJ5wNgwIgwRvixYtJuWRLEnmw1KZc -gbjC2vZCeKLsJdmCdVitpAT8nKH40xAA26hJ0wIDAQABAoIBACaNR+lsD8G+XiZf -LqN1+HkcAo9tfnyYMAdCOtnx7SdviT9Uzi8hK/B7mAeuJLeHPlS2EuaDfPD7QaFl -jza6S+MiIdc+3kgfvESsVAnOoOY6kZUJ9NSuI6CU82y1iJjLaYZrv9NQMLRFPPb0 -4KOX709mosB1EnXvshW0rbc+jtDFhrm1SxMt+k9TuzmMxjbOeW4LOLXPgU8X1T3Q -Xy0hMZZtcgBs9wFIo8yCtmOixax9pnFE8rRltgDxTodn9LLdz1FieyntNgDksZ0P -nt4kV7Mqly7ELaea+Foaj244mKsesic2e3GhAlMRLun/VSunSf7mOCxfpITB8dp1 -drDhOYECgYEA19151dVxRcviuovN6Dar+QszMTnU8pDJ8BjLFjXjP/hNBBwMTHDE -duMuWk2qnwZqMooI/shxrF/ufmTgS0CFrh2+ANBZu27vWConJNXcyNtdigI4wt50 -L0Y2qcZn2mg67qFXHwoR3QNwrwnPwEjRXA09at9CSRZzcwDQ0ETXhYsCgYEAwPaG -06QdK8Zyly7TTzZJwxzv9uGiqzodmGtX6NEKjgij2JaCxHpukqZBJoqa0jKeK1cm -eNVkOvT5ff9TMzarSHQLr3pZen2/oVLb5gaFkbcJt/klv9Fd+ZRilHY3i6QwS6pD -uMiPOWS4DrLHDRVoVlAZTDjT1RVwwTs+P2NhJdkCgYEAsriXysbxBYyMp05gqEW7 -lHIFbFgpSrs9th+Q5U6wW6JEgYaHWDJ1NslY80MiZI93FWjbkbZ7BvBWESeL3EIL -a+EMErht0pVCbIhZ6FF4foPAqia0wAJVx14mm+G80kNBp5jE/NnleEsE3KcO7nBb -hg8gLn+x7bk81JZ0TDrzBYkCgYEAuQKluv47SeF3tSScTfKLPpvcKCWmxe1uutkQ -7JShPhVioyOMNb39jnYBOWbjkm4d4QgqRuiytSR0oi3QI+Ziy5EYMyNn713qAk9j -r2TJZDDPDKnBW+zt4YI4EohWMXk3JRUW4XDKggjjwJQA7bZ812TtHHvP/xoThfG7 -eSNb3eECgYBw6ssgCtMrdvQiEmjKVX/9yI38mvC2kSGyzbrQnGUfgqRGomRpeZuD -B5E3kysA4td5pT5lvcLgSW0TbOz+YbiriXjwOihPIelCvc9gE2eOUI71/byUWPFz -7u5F/xQ4NaGr5suLF+lBC6h7pSbM4El9lIHQAQadpuEdzHqrw+hs3g== ------END RSA PRIVATE KEY----- diff --git a/vendor/github.com/valyala/fasthttp/examples/README.md b/vendor/github.com/valyala/fasthttp/examples/README.md deleted file mode 100644 index b0535a7504e..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# Code examples - -* [HelloWorld server](helloworldserver) -* [Static file server](fileserver) diff --git a/vendor/github.com/valyala/fasthttp/examples/client/Makefile b/vendor/github.com/valyala/fasthttp/examples/client/Makefile deleted file mode 100644 index d2844fb6e0d..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/client/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -client: clean - go get -u github.com/valyala/fasthttp - go build - -clean: - rm -f client diff --git a/vendor/github.com/valyala/fasthttp/examples/client/README.md b/vendor/github.com/valyala/fasthttp/examples/client/README.md deleted file mode 100644 index cef2d353611..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/client/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Client Example - -The Client is useful when working with multiple hostnames. - -See the simplest `sendGetRequest()` for GET and more advanced `sendPostRequest()` for a POST request. - -The `sendPostRequest()` also shows: -* Per-request timeout with `DoTimeout()` -* Send a body as bytes slice with `SetBodyRaw()`. This is useful if you generated a request body. Otherwise, prefer `SetBody()` which copies it. -* Parse JSON from response -* Gracefully show error messages i.e. timeouts as warnings and other errors as a failures with detailed error messages. - -## How to build and run -Start a web server on localhost:8080 then execute: - - make - ./client - -## Client vs HostClient -Internally the Client creates a dedicated HostClient for each domain/IP address and cleans unused after period of time. -So if you have a single heavily loaded API endpoint it's better to use HostClient. See an example in the [examples/host_client](../host_client/) diff --git a/vendor/github.com/valyala/fasthttp/examples/client/client.go b/vendor/github.com/valyala/fasthttp/examples/client/client.go deleted file mode 100644 index 617fd125d1a..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/client/client.go +++ /dev/null @@ -1,132 +0,0 @@ -package main - -import ( - "encoding/json" - "errors" - "fmt" - "io" - "net/http" - "os" - "reflect" - "time" - - "github.com/valyala/fasthttp" -) - -var headerContentTypeJson = []byte("application/json") - -var client *fasthttp.Client - -type Entity struct { - Id int - Name string -} - -func main() { - // You may read the timeouts from some config - readTimeout, _ := time.ParseDuration("500ms") - writeTimeout, _ := time.ParseDuration("500ms") - maxIdleConnDuration, _ := time.ParseDuration("1h") - client = &fasthttp.Client{ - ReadTimeout: readTimeout, - WriteTimeout: writeTimeout, - MaxIdleConnDuration: maxIdleConnDuration, - NoDefaultUserAgentHeader: true, // Don't send: User-Agent: fasthttp - DisableHeaderNamesNormalizing: true, // If you set the case on your headers correctly you can enable this - DisablePathNormalizing: true, - // increase DNS cache time to an hour instead of default minute - Dial: (&fasthttp.TCPDialer{ - Concurrency: 4096, - DNSCacheDuration: time.Hour, - }).Dial, - } - sendGetRequest() - sendPostRequest() -} - -func sendGetRequest() { - req := fasthttp.AcquireRequest() - req.SetRequestURI("http://localhost:8080/") - req.Header.SetMethod(fasthttp.MethodGet) - resp := fasthttp.AcquireResponse() - err := client.Do(req, resp) - fasthttp.ReleaseRequest(req) - if err == nil { - fmt.Printf("DEBUG Response: %s\n", resp.Body()) - } else { - fmt.Fprintf(os.Stderr, "ERR Connection error: %v\n", err) - } - fasthttp.ReleaseResponse(resp) -} - -func sendPostRequest() { - // per-request timeout - reqTimeout := time.Duration(100) * time.Millisecond - - reqEntity := &Entity{ - Name: "New entity", - } - reqEntityBytes, _ := json.Marshal(reqEntity) - - req := fasthttp.AcquireRequest() - req.SetRequestURI("http://localhost:8080/") - req.Header.SetMethod(fasthttp.MethodPost) - req.Header.SetContentTypeBytes(headerContentTypeJson) - req.SetBodyRaw(reqEntityBytes) - - resp := fasthttp.AcquireResponse() - err := client.DoTimeout(req, resp, reqTimeout) - fasthttp.ReleaseRequest(req) - defer fasthttp.ReleaseResponse(resp) - - if err != nil { - errName, known := httpConnError(err) - if known { - fmt.Fprintf(os.Stderr, "WARN conn error: %v\n", errName) - } else { - fmt.Fprintf(os.Stderr, "ERR conn failure: %v %v\n", errName, err) - } - - return - } - - statusCode := resp.StatusCode() - respBody := resp.Body() - fmt.Printf("DEBUG Response: %s\n", respBody) - - if statusCode != http.StatusOK { - fmt.Fprintf(os.Stderr, "ERR invalid HTTP response code: %d\n", statusCode) - - return - } - - respEntity := &Entity{} - err = json.Unmarshal(respBody, respEntity) - if err == nil || errors.Is(err, io.EOF) { - fmt.Printf("DEBUG Parsed Response: %v\n", respEntity) - } else { - fmt.Fprintf(os.Stderr, "ERR failed to parse response: %v\n", err) - } -} - -func httpConnError(err error) (string, bool) { - var ( - errName string - known = true - ) - - switch { - case errors.Is(err, fasthttp.ErrTimeout): - errName = "timeout" - case errors.Is(err, fasthttp.ErrNoFreeConns): - errName = "conn_limit" - case errors.Is(err, fasthttp.ErrConnectionClosed): - errName = "conn_close" - case reflect.TypeOf(err).String() == "*net.OpError": - errName = "timeout" - default: - known = false - } - - return errName, known -} diff --git a/vendor/github.com/valyala/fasthttp/examples/fileserver/Makefile b/vendor/github.com/valyala/fasthttp/examples/fileserver/Makefile deleted file mode 100644 index 0c000b3c1b4..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/fileserver/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -fileserver: clean - go get -u github.com/valyala/fasthttp - go get -u github.com/valyala/fasthttp/expvarhandler - go build - -clean: - rm -f fileserver diff --git a/vendor/github.com/valyala/fasthttp/examples/fileserver/README.md b/vendor/github.com/valyala/fasthttp/examples/fileserver/README.md deleted file mode 100644 index e23f831f376..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/fileserver/README.md +++ /dev/null @@ -1,84 +0,0 @@ -# Static file server example - -* Serves files from the given directory. -* Supports transparent response compression. -* Supports byte range responses. -* Generates directory index pages. -* Supports TLS (aka SSL or HTTPS). -* Supports virtual hosts. -* Exports various stats on /stats path. - -# How to build - -``` -make -``` - -# How to run - -``` -./fileserver -h -./fileserver -addr=tcp.addr.to.listen:to -dir=/path/to/directory/to/serve -``` - -# fileserver vs nginx performance comparison - -Serving default nginx path (`/usr/share/nginx/html` on ubuntu). - -* nginx - -``` -$ ./wrk -t 4 -c 16 -d 10 http://localhost:80 -Running 10s test @ http://localhost:80 - 4 threads and 16 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 397.76us 1.08ms 20.23ms 95.19% - Req/Sec 21.20k 2.49k 31.34k 79.65% - 850220 requests in 10.10s, 695.65MB read -Requests/sec: 84182.71 -Transfer/sec: 68.88MB -``` - -* fileserver - -``` -$ ./wrk -t 4 -c 16 -d 10 http://localhost:8080 -Running 10s test @ http://localhost:8080 - 4 threads and 16 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 447.99us 1.59ms 27.20ms 94.79% - Req/Sec 37.13k 3.99k 47.86k 76.00% - 1478457 requests in 10.02s, 1.03GB read -Requests/sec: 147597.06 -Transfer/sec: 105.15MB -``` - -8 pipelined requests - -* nginx - -``` -$ ./wrk -s pipeline.lua -t 4 -c 16 -d 10 http://localhost:80 -- 8 -Running 10s test @ http://localhost:80 - 4 threads and 16 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 1.34ms 2.15ms 30.91ms 92.16% - Req/Sec 33.54k 7.36k 108.12k 76.81% - 1339908 requests in 10.10s, 1.07GB read -Requests/sec: 132705.81 -Transfer/sec: 108.58MB -``` - -* fileserver - -``` -$ ./wrk -s pipeline.lua -t 4 -c 16 -d 10 http://localhost:8080 -- 8 -Running 10s test @ http://localhost:8080 - 4 threads and 16 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 2.08ms 6.33ms 88.26ms 92.83% - Req/Sec 116.54k 14.66k 167.98k 69.00% - 4642226 requests in 10.03s, 3.23GB read -Requests/sec: 462769.41 -Transfer/sec: 329.67MB -``` diff --git a/vendor/github.com/valyala/fasthttp/examples/fileserver/fileserver.go b/vendor/github.com/valyala/fasthttp/examples/fileserver/fileserver.go deleted file mode 100644 index 2a915bea5a5..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/fileserver/fileserver.go +++ /dev/null @@ -1,120 +0,0 @@ -// Example static file server. -// -// Serves static files from the given directory. -// Exports various stats at /stats . -package main - -import ( - "expvar" - "flag" - "log" - - "github.com/valyala/fasthttp" - "github.com/valyala/fasthttp/expvarhandler" -) - -var ( - addr = flag.String("addr", "localhost:8080", "TCP address to listen to") - addrTLS = flag.String("addrTLS", "", "TCP address to listen to TLS (aka SSL or HTTPS) requests. Leave empty for disabling TLS") - byteRange = flag.Bool("byteRange", false, "Enables byte range requests if set to true") - certFile = flag.String("certFile", "./ssl-cert.pem", "Path to TLS certificate file") - compress = flag.Bool("compress", false, "Enables transparent response compression if set to true") - dir = flag.String("dir", "/usr/share/nginx/html", "Directory to serve static files from") - generateIndexPages = flag.Bool("generateIndexPages", true, "Whether to generate directory index pages") - keyFile = flag.String("keyFile", "./ssl-cert.key", "Path to TLS key file") - vhost = flag.Bool("vhost", false, "Enables virtual hosting by prepending the requested path with the requested hostname") -) - -func main() { - // Parse command-line flags. - flag.Parse() - - // Setup FS handler - fs := &fasthttp.FS{ - Root: *dir, - IndexNames: []string{"index.html"}, - GenerateIndexPages: *generateIndexPages, - Compress: *compress, - AcceptByteRange: *byteRange, - } - if *vhost { - fs.PathRewrite = fasthttp.NewVHostPathRewriter(0) - } - fsHandler := fs.NewRequestHandler() - - // Create RequestHandler serving server stats on /stats and files - // on other requested paths. - // /stats output may be filtered using regexps. For example: - // - // * /stats?r=fs will show only stats (expvars) containing 'fs' - // in their names. - requestHandler := func(ctx *fasthttp.RequestCtx) { - switch string(ctx.Path()) { - case "/stats": - expvarhandler.ExpvarHandler(ctx) - default: - fsHandler(ctx) - updateFSCounters(ctx) - } - } - - // Start HTTP server. - if len(*addr) > 0 { - log.Printf("Starting HTTP server on %q", *addr) - go func() { - if err := fasthttp.ListenAndServe(*addr, requestHandler); err != nil { - log.Fatalf("error in ListenAndServe: %v", err) - } - }() - } - - // Start HTTPS server. - if len(*addrTLS) > 0 { - log.Printf("Starting HTTPS server on %q", *addrTLS) - go func() { - if err := fasthttp.ListenAndServeTLS(*addrTLS, *certFile, *keyFile, requestHandler); err != nil { - log.Fatalf("error in ListenAndServeTLS: %v", err) - } - }() - } - - log.Printf("Serving files from directory %q", *dir) - log.Printf("See stats at http://%s/stats", *addr) - - // Wait forever. - select {} -} - -func updateFSCounters(ctx *fasthttp.RequestCtx) { - // Increment the number of fsHandler calls. - fsCalls.Add(1) - - // Update other stats counters - resp := &ctx.Response - switch resp.StatusCode() { - case fasthttp.StatusOK: - fsOKResponses.Add(1) - fsResponseBodyBytes.Add(int64(resp.Header.ContentLength())) - case fasthttp.StatusNotModified: - fsNotModifiedResponses.Add(1) - case fasthttp.StatusNotFound: - fsNotFoundResponses.Add(1) - default: - fsOtherResponses.Add(1) - } -} - -// Various counters - see https://pkg.go.dev/expvar for details. -var ( - // Counter for total number of fs calls - fsCalls = expvar.NewInt("fsCalls") - - // Counters for various response status codes - fsOKResponses = expvar.NewInt("fsOKResponses") - fsNotModifiedResponses = expvar.NewInt("fsNotModifiedResponses") - fsNotFoundResponses = expvar.NewInt("fsNotFoundResponses") - fsOtherResponses = expvar.NewInt("fsOtherResponses") - - // Total size in bytes for OK response bodies served. - fsResponseBodyBytes = expvar.NewInt("fsResponseBodyBytes") -) diff --git a/vendor/github.com/valyala/fasthttp/examples/fileserver/ssl-cert-snakeoil.pem b/vendor/github.com/valyala/fasthttp/examples/fileserver/ssl-cert-snakeoil.pem deleted file mode 100644 index 93e77cd9569..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/fileserver/ssl-cert-snakeoil.pem +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICujCCAaKgAwIBAgIJAMbXnKZ/cikUMA0GCSqGSIb3DQEBCwUAMBUxEzARBgNV -BAMTCnVidW50dS5uYW4wHhcNMTUwMjA0MDgwMTM5WhcNMjUwMjAxMDgwMTM5WjAV -MRMwEQYDVQQDEwp1YnVudHUubmFuMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEA+CELrALPDyXZxt5lEbfwF7YAvnHqizmrSePSSRNVT05DAMvqBNX9V75D -K2LB6pg3+hllc4FV68i+FMKtv5yUpuenXYTeeZyPKEjd3bcsFAfP0oXpRDe955Te -+z3g/bZejZLD8Fmiq6satBZWm0T2UkAn5oGW4Q1fEmvJnwpBVNBtJYrepCxnHgij -L5lvvQc+3m7GJlXZlTMZnyCUrRQ+OJVhU3VHOuViEihHVthC3FHn29Mzi8PtDwm1 -xRiR+ceZLZLFvPgQZNh5IBnkES/6jwnHLYW0nDtFYDY98yd2WS9Dm0gwG7zQxvOY -6HjYwzauQ0/wQGdGzkmxBbIfn/QQMwIDAQABow0wCzAJBgNVHRMEAjAAMA0GCSqG -SIb3DQEBCwUAA4IBAQBQjKm/4KN/iTgXbLTL3i7zaxYXFLXsnT1tF+ay4VA8aj98 -L3JwRTciZ3A5iy/W4VSCt3eASwOaPWHKqDBB5RTtL73LoAqsWmO3APOGQAbixcQ2 -45GXi05OKeyiYRi1Nvq7Unv9jUkRDHUYVPZVSAjCpsXzPhFkmZoTRxmx5l0ZF7Li -K91lI5h+eFq0dwZwrmlPambyh1vQUi70VHv8DNToVU29kel7YLbxGbuqETfhrcy6 -X+Mha6RYITkAn5FqsZcKMsc9eYGEF4l3XV+oS7q6xfTxktYJMFTI18J0lQ2Lv/CI -whdMnYGntDQBE/iFCrJEGNsKGc38796GBOb5j+zd ------END CERTIFICATE----- diff --git a/vendor/github.com/valyala/fasthttp/examples/helloworldserver/Makefile b/vendor/github.com/valyala/fasthttp/examples/helloworldserver/Makefile deleted file mode 100644 index ce30ae9fa57..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/helloworldserver/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -helloworldserver: clean - go get -u github.com/valyala/fasthttp - go build - -clean: - rm -f helloworldserver diff --git a/vendor/github.com/valyala/fasthttp/examples/helloworldserver/README.md b/vendor/github.com/valyala/fasthttp/examples/helloworldserver/README.md deleted file mode 100644 index 80e801ecf46..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/helloworldserver/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# HelloWorld server example - -* Displays various request info. -* Sets response headers and cookies. -* Supports transparent compression. - -# How to build - -``` -make -``` - -# How to run - -``` -./helloworldserver -addr=tcp.addr.to.listen:to -``` diff --git a/vendor/github.com/valyala/fasthttp/examples/helloworldserver/helloworldserver.go b/vendor/github.com/valyala/fasthttp/examples/helloworldserver/helloworldserver.go deleted file mode 100644 index a22e0b78b57..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/helloworldserver/helloworldserver.go +++ /dev/null @@ -1,55 +0,0 @@ -package main - -import ( - "flag" - "fmt" - "log" - - "github.com/valyala/fasthttp" -) - -var ( - addr = flag.String("addr", ":8080", "TCP address to listen to") - compress = flag.Bool("compress", false, "Whether to enable transparent response compression") -) - -func main() { - flag.Parse() - - h := requestHandler - if *compress { - h = fasthttp.CompressHandler(h) - } - - if err := fasthttp.ListenAndServe(*addr, h); err != nil { - log.Fatalf("Error in ListenAndServe: %v", err) - } -} - -func requestHandler(ctx *fasthttp.RequestCtx) { - fmt.Fprintf(ctx, "Hello, world!\n\n") - - fmt.Fprintf(ctx, "Request method is %q\n", ctx.Method()) - fmt.Fprintf(ctx, "RequestURI is %q\n", ctx.RequestURI()) - fmt.Fprintf(ctx, "Requested path is %q\n", ctx.Path()) - fmt.Fprintf(ctx, "Host is %q\n", ctx.Host()) - fmt.Fprintf(ctx, "Query string is %q\n", ctx.QueryArgs()) - fmt.Fprintf(ctx, "User-Agent is %q\n", ctx.UserAgent()) - fmt.Fprintf(ctx, "Connection has been established at %s\n", ctx.ConnTime()) - fmt.Fprintf(ctx, "Request has been started at %s\n", ctx.Time()) - fmt.Fprintf(ctx, "Serial request number for the current connection is %d\n", ctx.ConnRequestNum()) - fmt.Fprintf(ctx, "Your ip is %q\n\n", ctx.RemoteIP()) - - fmt.Fprintf(ctx, "Raw request is:\n---CUT---\n%s\n---CUT---", &ctx.Request) - - ctx.SetContentType("text/plain; charset=utf8") - - // Set arbitrary headers - ctx.Response.Header.Set("X-My-Header", "my-header-value") - - // Set cookies - var c fasthttp.Cookie - c.SetKey("cookie-name") - c.SetValue("cookie-value") - ctx.Response.Header.SetCookie(&c) -} diff --git a/vendor/github.com/valyala/fasthttp/examples/host_client/Makefile b/vendor/github.com/valyala/fasthttp/examples/host_client/Makefile deleted file mode 100644 index 161ab4454a0..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/host_client/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -host_client: clean - go get -u github.com/valyala/fasthttp - go build - -clean: - rm -f host_client diff --git a/vendor/github.com/valyala/fasthttp/examples/host_client/README.md b/vendor/github.com/valyala/fasthttp/examples/host_client/README.md deleted file mode 100644 index e40b3976ea5..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/host_client/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Host Client Example - -The HostClient is useful when calling an API from a single host. -The example also shows how to use URI. -You may create the parsed URI once and reuse it in many requests. -The URI has a username and password for Basic Auth but you may also set other parts i.e. `SetPath()`, `SetQueryString()`. - -# How to build and run -Start a web server on localhost:8080 then execute: - - make - ./host_client - diff --git a/vendor/github.com/valyala/fasthttp/examples/host_client/hostclient.go b/vendor/github.com/valyala/fasthttp/examples/host_client/hostclient.go deleted file mode 100644 index 997abd4c96a..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/host_client/hostclient.go +++ /dev/null @@ -1,35 +0,0 @@ -package main - -import ( - "fmt" - "os" - - "github.com/valyala/fasthttp" -) - -func main() { - // Get URI from a pool - url := fasthttp.AcquireURI() - url.Parse(nil, []byte("http://localhost:8080/")) - url.SetUsername("Aladdin") - url.SetPassword("Open Sesame") - - hc := &fasthttp.HostClient{ - Addr: "localhost:8080", // The host address and port must be set explicitly - } - - req := fasthttp.AcquireRequest() - req.SetURI(url) // copy url into request - fasthttp.ReleaseURI(url) // now you may release the URI - - req.Header.SetMethod(fasthttp.MethodGet) - resp := fasthttp.AcquireResponse() - err := hc.Do(req, resp) - fasthttp.ReleaseRequest(req) - if err == nil { - fmt.Printf("Response: %s\n", resp.Body()) - } else { - fmt.Fprintf(os.Stderr, "Connection error: %v\n", err) - } - fasthttp.ReleaseResponse(resp) -} diff --git a/vendor/github.com/valyala/fasthttp/examples/letsencrypt/letsencryptserver.go b/vendor/github.com/valyala/fasthttp/examples/letsencrypt/letsencryptserver.go deleted file mode 100644 index d08716871aa..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/letsencrypt/letsencryptserver.go +++ /dev/null @@ -1,41 +0,0 @@ -package main - -import ( - "crypto/tls" - "net" - - "github.com/valyala/fasthttp" - "golang.org/x/crypto/acme" - "golang.org/x/crypto/acme/autocert" -) - -func requestHandler(ctx *fasthttp.RequestCtx) { - ctx.SetBodyString("hello from https!") -} - -func main() { - m := &autocert.Manager{ - Prompt: autocert.AcceptTOS, - HostPolicy: autocert.HostWhitelist("example.com"), // Replace with your domain. - Cache: autocert.DirCache("./certs"), - } - - cfg := &tls.Config{ - GetCertificate: m.GetCertificate, - NextProtos: []string{ - "http/1.1", acme.ALPNProto, - }, - } - - // Let's Encrypt tls-alpn-01 only works on port 443. - ln, err := net.Listen("tcp4", "0.0.0.0:443") /* #nosec G102 */ - if err != nil { - panic(err) - } - - lnTls := tls.NewListener(ln, cfg) - - if err := fasthttp.Serve(lnTls, requestHandler); err != nil { - panic(err) - } -} diff --git a/vendor/github.com/valyala/fasthttp/examples/multidomain/Makefile b/vendor/github.com/valyala/fasthttp/examples/multidomain/Makefile deleted file mode 100644 index 0787e5050f0..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/multidomain/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -writer: clean - go get -u github.com/valyala/fasthttp - go build - -clean: - rm -f multidomain diff --git a/vendor/github.com/valyala/fasthttp/examples/multidomain/README.md b/vendor/github.com/valyala/fasthttp/examples/multidomain/README.md deleted file mode 100644 index 12c09ecadbe..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/multidomain/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Multidomain using SSL certs example - -* Prints two messages depending on visited host. - -# How to build - -``` -make -``` - -# How to run - -``` -./multidomain -``` diff --git a/vendor/github.com/valyala/fasthttp/examples/multidomain/multidomain.go b/vendor/github.com/valyala/fasthttp/examples/multidomain/multidomain.go deleted file mode 100644 index 9b5ca15debe..00000000000 --- a/vendor/github.com/valyala/fasthttp/examples/multidomain/multidomain.go +++ /dev/null @@ -1,63 +0,0 @@ -package main - -import ( - "fmt" - - "github.com/valyala/fasthttp" -) - -var domains = make(map[string]fasthttp.RequestHandler) - -func main() { - server := &fasthttp.Server{ - // You can check the access using openssl command: - // $ openssl s_client -connect localhost:8080 << EOF - // > GET / - // > Host: localhost - // > EOF - // - // $ openssl s_client -connect localhost:8080 << EOF - // > GET / - // > Host: 127.0.0.1:8080 - // > EOF - // - Handler: func(ctx *fasthttp.RequestCtx) { - h, ok := domains[string(ctx.Host())] - if !ok { - ctx.NotFound() - return - } - h(ctx) - }, - } - - // preparing first host - cert, priv, err := fasthttp.GenerateTestCertificate("localhost:8080") - if err != nil { - panic(err) - } - domains["localhost:8080"] = func(ctx *fasthttp.RequestCtx) { - ctx.WriteString("You are accessing to localhost:8080\n") - } - - err = server.AppendCertEmbed(cert, priv) - if err != nil { - panic(err) - } - - // preparing second host - cert, priv, err = fasthttp.GenerateTestCertificate("127.0.0.1") - if err != nil { - panic(err) - } - domains["127.0.0.1:8080"] = func(ctx *fasthttp.RequestCtx) { - ctx.WriteString("You are accessing to 127.0.0.1:8080\n") - } - - err = server.AppendCertEmbed(cert, priv) - if err != nil { - panic(err) - } - - fmt.Println(server.ListenAndServeTLS(":8080", "", "")) -} diff --git a/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_test.go b/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_test.go deleted file mode 100644 index 698285d756b..00000000000 --- a/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_test.go +++ /dev/null @@ -1,273 +0,0 @@ -package fasthttputil - -import ( - "bytes" - "context" - "fmt" - "io" - "net" - "net/http" - "sync" - "testing" - "time" -) - -func TestInmemoryListener(t *testing.T) { - ln := NewInmemoryListener() - - ch := make(chan struct{}) - for i := 0; i < 10; i++ { - go func(n int) { - conn, err := ln.Dial() - if err != nil { - t.Errorf("unexpected error: %v", err) - } - defer conn.Close() - req := fmt.Sprintf("request_%d", n) - nn, err := conn.Write([]byte(req)) - if err != nil { - t.Errorf("unexpected error: %v", err) - } - if nn != len(req) { - t.Errorf("unexpected number of bytes written: %d. Expecting %d", nn, len(req)) - } - buf := make([]byte, 30) - nn, err = conn.Read(buf) - if err != nil { - t.Errorf("unexpected error: %v", err) - } - buf = buf[:nn] - resp := fmt.Sprintf("response_%d", n) - if nn != len(resp) { - t.Errorf("unexpected number of bytes read: %d. Expecting %d", nn, len(resp)) - } - if string(buf) != resp { - t.Errorf("unexpected response %q. Expecting %q", buf, resp) - } - ch <- struct{}{} - }(i) - } - - serverCh := make(chan struct{}) - go func() { - for { - conn, err := ln.Accept() - if err != nil { - close(serverCh) - return - } - defer conn.Close() - buf := make([]byte, 30) - n, err := conn.Read(buf) - if err != nil { - t.Errorf("unexpected error: %v", err) - } - buf = buf[:n] - if !bytes.HasPrefix(buf, []byte("request_")) { - t.Errorf("unexpected request prefix %q. Expecting %q", buf, "request_") - } - resp := fmt.Sprintf("response_%s", buf[len("request_"):]) - n, err = conn.Write([]byte(resp)) - if err != nil { - t.Errorf("unexpected error: %v", err) - } - if n != len(resp) { - t.Errorf("unexpected number of bytes written: %d. Expecting %d", n, len(resp)) - } - } - }() - - for i := 0; i < 10; i++ { - select { - case <-ch: - case <-time.After(time.Second): - t.Fatalf("timeout") - } - } - - if err := ln.Close(); err != nil { - t.Fatalf("unexpected error: %v", err) - } - - select { - case <-serverCh: - case <-time.After(time.Second): - t.Fatalf("timeout") - } -} - -// echoServerHandler implements http.Handler. -type echoServerHandler struct { - t *testing.T -} - -func (s *echoServerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { - w.WriteHeader(200) - time.Sleep(time.Millisecond * 100) - if _, err := io.Copy(w, r.Body); err != nil { - s.t.Fatalf("unexpected error: %v", err) - } -} - -func testInmemoryListenerHTTP(t *testing.T, f func(t *testing.T, client *http.Client)) { - ln := NewInmemoryListener() - defer ln.Close() - - client := &http.Client{ - Transport: &http.Transport{ - DialContext: func(ctx context.Context, network, addr string) (net.Conn, error) { - return ln.Dial() - }, - }, - Timeout: time.Second, - } - - server := &http.Server{ - Handler: &echoServerHandler{t}, - } - - go func() { - if err := server.Serve(ln); err != nil && err != http.ErrServerClosed { - t.Errorf("unexpected error: %v", err) - } - }() - - f(t, client) - - ctx, cancel := context.WithTimeout(context.Background(), time.Millisecond*100) - defer cancel() - server.Shutdown(ctx) //nolint:errcheck -} - -func testInmemoryListenerHTTPSingle(t *testing.T, client *http.Client, content string) { - res, err := client.Post("http://...", "text/plain", bytes.NewBufferString(content)) - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - defer func() { _ = res.Body.Close() }() - b, err := io.ReadAll(res.Body) - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - s := string(b) - if string(b) != content { - t.Fatalf("unexpected response %q, expecting %q", s, content) - } -} - -func TestInmemoryListenerHTTPSingle(t *testing.T) { - testInmemoryListenerHTTP(t, func(t *testing.T, client *http.Client) { - testInmemoryListenerHTTPSingle(t, client, "request") - }) -} - -func TestInmemoryListenerHTTPSerial(t *testing.T) { - testInmemoryListenerHTTP(t, func(t *testing.T, client *http.Client) { - for i := 0; i < 10; i++ { - testInmemoryListenerHTTPSingle(t, client, fmt.Sprintf("request_%d", i)) - } - }) -} - -func TestInmemoryListenerHTTPConcurrent(t *testing.T) { - testInmemoryListenerHTTP(t, func(t *testing.T, client *http.Client) { - var wg sync.WaitGroup - for i := 0; i < 10; i++ { - wg.Add(1) - go func(i int) { - defer wg.Done() - testInmemoryListenerHTTPSingle(t, client, fmt.Sprintf("request_%d", i)) - }(i) - } - wg.Wait() - }) -} - -func acceptLoop(ln net.Listener) { - for { - conn, err := ln.Accept() - if err != nil { - panic(err) - } - - conn.Close() - } -} - -func TestInmemoryListenerAddrDefault(t *testing.T) { - ln := NewInmemoryListener() - - verifyAddr(t, ln.Addr(), inmemoryAddr(0)) - - go func() { - c, err := ln.Dial() - if err != nil { - panic(err) - } - - c.Close() - }() - - lc, err := ln.Accept() - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - - verifyAddr(t, lc.LocalAddr(), inmemoryAddr(0)) - verifyAddr(t, lc.RemoteAddr(), pipeAddr(0)) - - go acceptLoop(ln) - - c, err := ln.Dial() - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - - verifyAddr(t, c.LocalAddr(), pipeAddr(0)) - verifyAddr(t, c.RemoteAddr(), inmemoryAddr(0)) -} - -func verifyAddr(t *testing.T, got, expected net.Addr) { - if got != expected { - t.Fatalf("unexpected addr: %v. Expecting %v", got, expected) - } -} - -func TestInmemoryListenerAddrCustom(t *testing.T) { - ln := NewInmemoryListener() - - listenerAddr := &net.TCPAddr{IP: net.IPv4(127, 0, 0, 1), Port: 12345} - - ln.SetLocalAddr(listenerAddr) - - verifyAddr(t, ln.Addr(), listenerAddr) - - go func() { - c, err := ln.Dial() - if err != nil { - panic(err) - } - - c.Close() - }() - - lc, err := ln.Accept() - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - - verifyAddr(t, lc.LocalAddr(), listenerAddr) - verifyAddr(t, lc.RemoteAddr(), pipeAddr(0)) - - go acceptLoop(ln) - - clientAddr := &net.TCPAddr{IP: net.IPv4(127, 0, 0, 2), Port: 65432} - - c, err := ln.DialWithLocalAddr(clientAddr) - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - - verifyAddr(t, c.LocalAddr(), clientAddr) - verifyAddr(t, c.RemoteAddr(), listenerAddr) -} diff --git a/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_timing_test.go b/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_timing_test.go deleted file mode 100644 index ee398009ac2..00000000000 --- a/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_timing_test.go +++ /dev/null @@ -1,155 +0,0 @@ -package fasthttputil_test - -import ( - "crypto/tls" - "net" - "testing" - - "github.com/valyala/fasthttp" - "github.com/valyala/fasthttp/fasthttputil" -) - -var ( - certblock = []byte(`-----BEGIN CERTIFICATE----- -MIICujCCAaKgAwIBAgIJAMbXnKZ/cikUMA0GCSqGSIb3DQEBCw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5ulbwC7Xc3K35F+i9pb8+TVBdeaFkw+yu6vaZmxQLrX -fQM/pEjD7A7HmMIaO7QaU5SfEAsqdCTP56Y8AftMuNXn/8IRfo2KuGwaWwKBgFpU -ILzJoVdlad9E/Rw7LjYhZfkv1uBVXIyxyKcfrkEXZSmozDXDdxsvcZCEfVHM6Ipk -K/+7LuMcqp4AFEAEq8wTOdq6daFaHLkpt/FZK6M4TlruhtpFOPkoNc3e45eM83OT -6mziKINJC1CQ6m65sQHpBtjxlKMRG8rL/D6wx9s5AoGBAMRlqNPMwglT3hvDmsAt -9Lf9pdmhERUlHhD8bj8mDaBj2Aqv7f6VRJaYZqP403pKKQexuqcn80mtjkSAPFkN -Cj7BVt/RXm5uoxDTnfi26RF9F6yNDEJ7UU9+peBr99aazF/fTgW/1GcMkQnum8uV -c257YgaWmjK9uB0Y2r2VxS0G ------END PRIVATE KEY-----`) -) - -// BenchmarkPlainStreaming measures end-to-end plaintext streaming performance -// for fasthttp client and server. -// -// It issues http requests over a small number of keep-alive connections. -func BenchmarkPlainStreaming(b *testing.B) { - benchmark(b, streamingHandler, false) -} - -// BenchmarkPlainHandshake measures end-to-end plaintext handshake performance -// for fasthttp client and server. -// -// It re-establishes new connection per each http request. -func BenchmarkPlainHandshake(b *testing.B) { - benchmark(b, handshakeHandler, false) -} - -// BenchmarkTLSStreaming measures end-to-end TLS streaming performance -// for fasthttp client and server. -// -// It issues http requests over a small number of TLS keep-alive connections. -func BenchmarkTLSStreaming(b *testing.B) { - benchmark(b, streamingHandler, true) -} - -func benchmark(b *testing.B, h fasthttp.RequestHandler, isTLS bool) { - var serverTLSConfig, clientTLSConfig *tls.Config - if isTLS { - cert, err := tls.X509KeyPair(certblock, keyblock) - if err != nil { - b.Fatalf("cannot load TLS certificate: %v", err) - } - serverTLSConfig = &tls.Config{ - Certificates: []tls.Certificate{cert}, - PreferServerCipherSuites: true, - } - serverTLSConfig.CurvePreferences = []tls.CurveID{} - clientTLSConfig = &tls.Config{ - InsecureSkipVerify: true, - } - } - ln := fasthttputil.NewInmemoryListener() - serverStopCh := make(chan struct{}) - go func() { - serverLn := net.Listener(ln) - if serverTLSConfig != nil { - serverLn = tls.NewListener(serverLn, serverTLSConfig) - } - if err := fasthttp.Serve(serverLn, h); err != nil { - b.Errorf("unexpected error in server: %v", err) - } - close(serverStopCh) - }() - c := &fasthttp.HostClient{ - Dial: func(addr string) (net.Conn, error) { - return ln.Dial() - }, - IsTLS: isTLS, - TLSConfig: clientTLSConfig, - } - - b.RunParallel(func(pb *testing.PB) { - runRequests(b, pb, c, isTLS) - }) - ln.Close() - <-serverStopCh -} - -func streamingHandler(ctx *fasthttp.RequestCtx) { - ctx.WriteString("foobar") //nolint:errcheck -} - -func handshakeHandler(ctx *fasthttp.RequestCtx) { - streamingHandler(ctx) - - // Explicitly close connection after each response. - ctx.SetConnectionClose() -} - -func runRequests(b *testing.B, pb *testing.PB, c *fasthttp.HostClient, isTLS bool) { - var req fasthttp.Request - if isTLS { - req.SetRequestURI("https://foo.bar/baz") - } else { - req.SetRequestURI("http://foo.bar/baz") - } - var resp fasthttp.Response - for pb.Next() { - if err := c.Do(&req, &resp); err != nil { - b.Fatalf("unexpected error: %v", err) - } - if resp.StatusCode() != fasthttp.StatusOK { - b.Fatalf("unexpected status code: %d. Expecting %d", resp.StatusCode(), fasthttp.StatusOK) - } - } -} diff --git a/vendor/github.com/valyala/fasthttp/fasthttputil/pipeconns_test.go b/vendor/github.com/valyala/fasthttp/fasthttputil/pipeconns_test.go deleted file mode 100644 index 9ac7ee14c73..00000000000 --- a/vendor/github.com/valyala/fasthttp/fasthttputil/pipeconns_test.go +++ /dev/null @@ -1,407 +0,0 @@ -package fasthttputil - -import ( - "bytes" - "fmt" - "io" - "net" - "testing" - "time" -) - -func TestPipeConnsWriteTimeout(t *testing.T) { - t.Parallel() - - pc := NewPipeConns() - c1 := pc.Conn1() - - deadline := time.Now().Add(time.Millisecond) - if err := c1.SetWriteDeadline(deadline); err != nil { - t.Fatalf("unexpected error: %v", err) - } - - data := []byte("foobar") - for { - _, err := c1.Write(data) - if err != nil { - if err == ErrTimeout { - break - } - t.Fatalf("unexpected error: %v", err) - } - } - - for i := 0; i < 10; i++ { - _, err := c1.Write(data) - if err == nil { - t.Fatalf("expecting error") - } - if err != ErrTimeout { - t.Fatalf("unexpected error: %v. Expecting %v", err, ErrTimeout) - } - } - - // read the written data - c2 := pc.Conn2() - if err := c2.SetReadDeadline(time.Now().Add(10 * time.Millisecond)); err != nil { - t.Fatalf("unexpected error: %v", err) - } - for { - _, err := c2.Read(data) - if err != nil { - if err == ErrTimeout { - break - } - t.Fatalf("unexpected error: %v", err) - } - } - - for i := 0; i < 10; i++ { - _, err := c2.Read(data) - if err == nil { - t.Fatalf("expecting error") - } - if err != ErrTimeout { - t.Fatalf("unexpected error: %v. Expecting %v", err, ErrTimeout) - } - } -} - -func TestPipeConnsPositiveReadTimeout(t *testing.T) { - t.Parallel() - - testPipeConnsReadTimeout(t, time.Millisecond) -} - -func TestPipeConnsNegativeReadTimeout(t *testing.T) { - t.Parallel() - - testPipeConnsReadTimeout(t, -time.Second) -} - -var zeroTime time.Time - -func testPipeConnsReadTimeout(t *testing.T, timeout time.Duration) { - pc := NewPipeConns() - c1 := pc.Conn1() - - deadline := time.Now().Add(timeout) - if err := c1.SetReadDeadline(deadline); err != nil { - t.Fatalf("unexpected error: %v", err) - } - - var buf [1]byte - for i := 0; i < 10; i++ { - _, err := c1.Read(buf[:]) - if err == nil { - t.Fatalf("expecting error on iteration %d", i) - } - if err != ErrTimeout { - t.Fatalf("unexpected error on iteration %d: %v. Expecting %v", i, err, ErrTimeout) - } - } - - // disable deadline and send data from c2 to c1 - if err := c1.SetReadDeadline(zeroTime); err != nil { - t.Fatalf("unexpected error: %v", err) - } - - data := []byte("foobar") - c2 := pc.Conn2() - if _, err := c2.Write(data); err != nil { - t.Fatalf("unexpected error: %v", err) - } - dataBuf := make([]byte, len(data)) - if _, err := io.ReadFull(c1, dataBuf); err != nil { - t.Fatalf("unexpected error: %v", err) - } - if !bytes.Equal(data, dataBuf) { - t.Fatalf("unexpected data received: %q. Expecting %q", dataBuf, data) - } -} - -func TestPipeConnsCloseWhileReadWriteConcurrent(t *testing.T) { - t.Parallel() - - concurrency := 4 - ch := make(chan struct{}, concurrency) - for i := 0; i < concurrency; i++ { - go func() { - testPipeConnsCloseWhileReadWriteSerial(t) - ch <- struct{}{} - }() - } - - for i := 0; i < concurrency; i++ { - select { - case <-ch: - case <-time.After(5 * time.Second): - t.Fatalf("timeout") - } - } -} - -func TestPipeConnsCloseWhileReadWriteSerial(t *testing.T) { - t.Parallel() - - testPipeConnsCloseWhileReadWriteSerial(t) -} - -func testPipeConnsCloseWhileReadWriteSerial(t *testing.T) { - for i := 0; i < 10; i++ { - testPipeConnsCloseWhileReadWrite(t) - } -} - -func testPipeConnsCloseWhileReadWrite(t *testing.T) { - pc := NewPipeConns() - c1 := pc.Conn1() - c2 := pc.Conn2() - - readCh := make(chan error) - go func() { - var err error - if _, err = io.Copy(io.Discard, c1); err != nil { - if err != errConnectionClosed { - err = fmt.Errorf("unexpected error: %w", err) - } else { - err = nil - } - } - readCh <- err - }() - - writeCh := make(chan error) - go func() { - var err error - for { - if _, err = c2.Write([]byte("foobar")); err != nil { - if err != errConnectionClosed { - err = fmt.Errorf("unexpected error: %w", err) - } else { - err = nil - } - break - } - } - writeCh <- err - }() - - time.Sleep(10 * time.Millisecond) - if err := c1.Close(); err != nil { - t.Fatalf("unexpected error: %v", err) - } - if err := c2.Close(); err != nil { - t.Fatalf("unexpected error: %v", err) - } - - select { - case err := <-readCh: - if err != nil { - t.Fatalf("unexpected error in reader: %v", err) - } - case <-time.After(time.Second): - t.Fatalf("timeout") - } - select { - case err := <-writeCh: - if err != nil { - t.Fatalf("unexpected error in writer: %v", err) - } - case <-time.After(time.Second): - t.Fatalf("timeout") - } -} - -func TestPipeConnsReadWriteSerial(t *testing.T) { - t.Parallel() - - testPipeConnsReadWriteSerial(t) -} - -func TestPipeConnsReadWriteConcurrent(t *testing.T) { - t.Parallel() - - testConcurrency(t, 10, testPipeConnsReadWriteSerial) -} - -func testPipeConnsReadWriteSerial(t *testing.T) { - pc := NewPipeConns() - testPipeConnsReadWrite(t, pc.Conn1(), pc.Conn2()) - - pc = NewPipeConns() - testPipeConnsReadWrite(t, pc.Conn2(), pc.Conn1()) -} - -func testPipeConnsReadWrite(t *testing.T, c1, c2 net.Conn) { - defer c1.Close() - defer c2.Close() - - var buf [32]byte - for i := 0; i < 10; i++ { - // The first write - s1 := fmt.Sprintf("foo_%d", i) - n, err := c1.Write([]byte(s1)) - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - if n != len(s1) { - t.Fatalf("unexpected number of bytes written: %d. Expecting %d", n, len(s1)) - } - - // The second write - s2 := fmt.Sprintf("bar_%d", i) - n, err = c1.Write([]byte(s2)) - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - if n != len(s2) { - t.Fatalf("unexpected number of bytes written: %d. Expecting %d", n, len(s2)) - } - - // Read data written above in two writes - s := s1 + s2 - n, err = c2.Read(buf[:]) - if err != nil { - t.Fatalf("unexpected error: %v", err) - } - if n != len(s) { - t.Fatalf("unexpected number of bytes read: %d. Expecting %d", n, len(s)) - } - if string(buf[:n]) != s { - t.Fatalf("unexpected string read: %q. Expecting %q", buf[:n], s) - } - } -} - -func TestPipeConnsCloseSerial(t *testing.T) { - t.Parallel() - - testPipeConnsCloseSerial(t) -} - -func TestPipeConnsCloseConcurrent(t *testing.T) { - t.Parallel() - - testConcurrency(t, 10, testPipeConnsCloseSerial) -} - -func testPipeConnsCloseSerial(t *testing.T) { - pc := NewPipeConns() - testPipeConnsClose(t, pc.Conn1(), pc.Conn2()) - - pc = NewPipeConns() - testPipeConnsClose(t, pc.Conn2(), pc.Conn1()) -} - -func testPipeConnsClose(t *testing.T, c1, c2 net.Conn) { - if err := c1.Close(); err != nil { - t.Fatalf("unexpected error: %v", err) - } - var buf [10]byte - - // attempt writing to closed conn - for i := 0; i < 10; i++ { - n, err := c1.Write(buf[:]) - if err == nil { - t.Fatalf("expecting error") - } - if n != 0 { - t.Fatalf("unexpected number of bytes written: %d. Expecting 0", n) - } - } - - // attempt reading from closed conn - for i := 0; i < 10; i++ { - n, err := c2.Read(buf[:]) - if err == nil { - t.Fatalf("expecting error") - } - if err != io.EOF { - t.Fatalf("unexpected error: %v. Expecting %v", err, io.EOF) - } - if n != 0 { - t.Fatalf("unexpected number of bytes read: %d. Expecting 0", n) - } - } - - if err := c2.Close(); err != nil { - t.Fatalf("unexpected error: %v", err) - } - - // attempt closing already closed conns - for i := 0; i < 10; i++ { - if err := c1.Close(); err != nil { - t.Fatalf("unexpected error: %v", err) - } - if err := c2.Close(); err != nil { - t.Fatalf("unexpected error: %v", err) - } - } -} - -func testConcurrency(t *testing.T, concurrency int, f func(*testing.T)) { - ch := make(chan struct{}, concurrency) - for i := 0; i < concurrency; i++ { - go func() { - f(t) - ch <- struct{}{} - }() - } - - for i := 0; i < concurrency; i++ { - select { - case <-ch: - case <-time.After(time.Second): - t.Fatalf("timeout") - } - } -} - -func TestPipeConnsAddrDefault(t *testing.T) { - t.Parallel() - - pc := NewPipeConns() - c1 := pc.Conn1() - - if c1.LocalAddr() != pipeAddr(0) { - t.Fatalf("unexpected local address: %v", c1.LocalAddr()) - } - - if c1.RemoteAddr() != pipeAddr(0) { - t.Fatalf("unexpected remote address: %v", c1.RemoteAddr()) - } -} - -func TestPipeConnsAddrCustom(t *testing.T) { - t.Parallel() - - pc := NewPipeConns() - - addr1 := &net.TCPAddr{IP: net.IPv4(1, 2, 3, 4), Port: 1234} - addr2 := &net.TCPAddr{IP: net.IPv4(5, 6, 7, 8), Port: 5678} - addr3 := &net.TCPAddr{IP: net.IPv4(9, 10, 11, 12), Port: 9012} - addr4 := &net.TCPAddr{IP: net.IPv4(13, 14, 15, 16), Port: 3456} - - pc.SetAddresses(addr1, addr2, addr3, addr4) - - c1 := pc.Conn1() - - if c1.LocalAddr() != addr1 { - t.Fatalf("unexpected local address: %v", c1.LocalAddr()) - } - - if c1.RemoteAddr() != addr2 { - t.Fatalf("unexpected remote address: %v", c1.RemoteAddr()) - } - - c2 := pc.Conn1() - - if c2.LocalAddr() != addr1 { - t.Fatalf("unexpected local address: %v", c2.LocalAddr()) - } - - if c2.RemoteAddr() != addr2 { - t.Fatalf("unexpected remote address: %v", c2.RemoteAddr()) - } -} diff --git a/vendor/github.com/valyala/fasthttp/testdata/test.png b/vendor/github.com/valyala/fasthttp/testdata/test.png deleted file mode 100644 index 8b137891791..00000000000 --- a/vendor/github.com/valyala/fasthttp/testdata/test.png +++ /dev/null @@ -1 +0,0 @@ -