google-nomulus/java/google/registry/proxy/handler
jianglai 9eec70729f Refine tests in GCP proxy
Previously the ssl initializer tests always uses JDK, which is not really testing what happens in production when we take advantage of the OpenSSL provider. Now the tests will run with all providers that are available (through JUnit parameterization). Some bugs that may cause flakiness are fixed in the process.

Change how SNI is verified in tests. It turns out that the old method (only verifying the SSL parameters in the SSL engine) does not actually ensure that the SNI address is sent to the peer, but only that the SSL engine is configured to send it (this value exists even before a handshake is performed). Also there's likely a bug in Netty's SSL engine that does not set this parameter when created with a peer host.

Lastly HTTP test utils are changed so that they do not use pre-defined constants for header names and values. We want the test to confirm that these constants are what we expect they are. Using string literals makes these tests also more explicit.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=207930282
2018-08-10 13:46:48 -04:00
..
BackendMetricsHandler.java Fix proxy metrics instrumentation bug 2018-05-30 12:18:54 -04:00
EppServiceHandler.java Refine logs in the proxy 2018-08-10 13:46:48 -04:00
HealthCheckHandler.java Open source GCP proxy 2017-11-21 19:19:03 -05:00
HttpsRelayServiceHandler.java Refine tests in GCP proxy 2018-08-10 13:46:48 -04:00
ProxyProtocolHandler.java Refine logs in the proxy 2018-08-10 13:46:48 -04:00
QuotaHandler.java Remove no quota leased warning from quota handler inactive callback 2018-05-17 21:52:35 -04:00
RelayHandler.java Automatic reconnect to GAE when the connection is dropped 2018-08-10 13:46:48 -04:00
SslClientInitializer.java Refine tests in GCP proxy 2018-08-10 13:46:48 -04:00
SslServerInitializer.java Cache server certificates for up to 30 min 2018-08-10 13:46:48 -04:00
WebWhoisRedirectHandler.java Reduce web WHOIS error log level to warning 2018-08-10 13:46:48 -04:00
WhoisServiceHandler.java Automatic reconnect to GAE when the connection is dropped 2018-08-10 13:46:48 -04:00