You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Andrew Sherman (Jira)" <ji...@apache.org> on 2020/03/21 01:06:00 UTC

[jira] [Created] (IMPALA-9540) Impala Shell sends duplicate "Host" headers in http mode

Andrew Sherman created IMPALA-9540:
--------------------------------------

             Summary: Impala Shell sends duplicate "Host" headers in http mode
                 Key: IMPALA-9540
                 URL: https://issues.apache.org/jira/browse/IMPALA-9540
             Project: IMPALA
          Issue Type: Bug
            Reporter: Andrew Sherman
            Assignee: Andrew Sherman


Running "impala-shell --protocol='hs2-http' ..." the impala shell sends two copies of the "Host" header. When connecting to the minicluster the values are
{code}
Host: “localhost”
Host: “localhost:8080”
{code}
This is bad because the http server in golang's net/http package will reject any http call with 
{code}
badRequestError("too many Host headers")
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org