[
https://issues.apache.org/jira/browse/MESOS-10199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235849#comment-17235849
]
Abdul Qadeer commented on MESOS-10199:
--------------------------------------
[~vinodkone] Just making sure this fix would be in "MessageEncoder::encode()",
correct?
> Mesos doesn't set correct client request headers for HTTP requests
> ------------------------------------------------------------------
>
> Key: MESOS-10199
> URL: https://issues.apache.org/jira/browse/MESOS-10199
> Project: Mesos
> Issue Type: Bug
> Components: agent, libprocess, master
> Reporter: Abdul Qadeer
> Assignee: Abdul Qadeer
> Priority: Major
>
> The agents are not able to contact/register with master behind nginx proxy
> as the requests don't set 'Host' parameter and nginx is required to return
> 400 for such requests per
> [RFC|https://tools.ietf.org/html/rfc7230#section-5.4] specs :
> {noformat}
> *7 client sent invalid host header while reading client request headers,
> client: x.x.x.x, server: , request: "POST
> /master/mesos.internal.ReregisterSlaveMessage HTTP/1.1", host: ""{noformat}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)