mirror of
https://github.com/google/nomulus.git
synced 2025-08-01 15:34:48 +02:00
Opened two ports (30010 and 30011 by default) that handles HTTP(S) GET requests. the HTTP request is redirected to the corresponding HTTPS site, whereas the HTTPS request is redirected to a site that supports web WHOIS. The GCLB currently exposes port 80, but not port 443 on its TCP proxy load balancer (see https://cloud.google.com/load-balancing/docs/choosing-load-balancer). As a result, the HTTP traffic has to be routed by the HTTP load balancer, which requires a separate HTTP health check (as opposed to the TCP health check that the TCP proxy LB uses). This CL also added support for HTTP health check. There is not a strong case for adding an end-to-end test for WebWhoisProtocolsModule (like those for EppProtocolModule, etc) as it just assembles standard HTTP codecs used for an HTTP server, plus the WebWhoisRedirectHandler, which is tested. The end-to-end test would just be testing if the Netty provided HTTP handlers correctly parse raw HTTP messages. Sever other small improvement is also included: [1] Use setInt other than set when setting content length in HTTP headers. I don't think it is necessary, but it is nevertheless a better practice to use a more specialized setter. [2] Do not write metrics when running locally. [3] Rename the qualifier @EppCertificates to @ServerSertificate as it now provides the certificate used in HTTPS traffic as well. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=206944843 |
||
---|---|---|
.. | ||
backup | ||
batch | ||
beam | ||
bigquery | ||
builddefs | ||
config | ||
cron | ||
dns | ||
env | ||
export | ||
flows | ||
gcs | ||
groups | ||
idn | ||
keyring | ||
loadtest | ||
mapreduce | ||
model | ||
module | ||
monitoring/whitebox | ||
pricing | ||
proxy | ||
rdap | ||
rde | ||
reporting | ||
request | ||
security | ||
storage/drive | ||
tldconfig/idn | ||
tmch | ||
tools | ||
ui | ||
util | ||
whois | ||
xjc | ||
xml | ||
BUILD | ||
repositories.bzl |