You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mehakmeet Singh (Jira)" <ji...@apache.org> on 2023/02/24 07:28:00 UTC

[jira] [Created] (HADOOP-18643) S3A proxy to use proxy protocol to set port

Mehakmeet Singh created HADOOP-18643:
----------------------------------------

             Summary: S3A proxy to use proxy protocol to set port
                 Key: HADOOP-18643
                 URL: https://issues.apache.org/jira/browse/HADOOP-18643
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Mehakmeet Singh
            Assignee: Mehakmeet Singh


In the current code, we use the Cloud store's protocol to set the proxy's port({*}If no port is set{*}).
{code:java}
if (conf.getBoolean(SECURE_CONNECTIONS, DEFAULT_SECURE_CONNECTIONS)) {
          LOG.warn("Proxy host set without port. Using HTTPS default 443");
          awsConf.setProxyPort(443);
        } else {
          LOG.warn("Proxy host set without port. Using HTTP default 80");
          awsConf.setProxyPort(80);
        } {code}
We should use the proxy protocol instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org