You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Charles Allen (JIRA)" <ji...@apache.org> on 2016/09/20 16:24:20 UTC

[jira] [Commented] (MESOS-6210) Master redirect with suffix gets in redirect loop

    [ https://issues.apache.org/jira/browse/MESOS-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507019#comment-15507019 ] 

Charles Allen commented on MESOS-6210:
--------------------------------------

Thanks [~vinodkone]. I took a crack at a patch, but I can't seem to find any test coverage for routing or {{Master::Http}}. Is there a place where tests should go?

> Master redirect with suffix gets in redirect loop
> -------------------------------------------------
>
>                 Key: MESOS-6210
>                 URL: https://issues.apache.org/jira/browse/MESOS-6210
>             Project: Mesos
>          Issue Type: Bug
>          Components: HTTP API
>            Reporter: Charles Allen
>              Labels: newbie
>
> Trying to go to a URI like {{http://SOME_MASTER:5050/master/redirect/master/frameworks}} ends up in a redirect loop.
> The expected behavior is to either not support anything after {{redirect}} in the path (redirect must be handled by a smart client), or to redirect to the suffix (redirect can be handled by a dumb client).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)