You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Joris Van Remoortere <jo...@gmail.com> on 2015/03/19 18:21:35 UTC
Re: Review Request 28254: http: Allow sending Request objects
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28254/#review77067
-----------------------------------------------------------
@cmaloney: can you add reviewers or drop this issue please?
- Joris Van Remoortere
On Nov. 20, 2014, 12:54 a.m., Cody Maloney wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28254/
> -----------------------------------------------------------
>
> (Updated Nov. 20, 2014, 12:54 a.m.)
>
>
> Review request for mesos.
>
>
> Bugs: MESOS-2132
> https://issues.apache.org/jira/browse/MESOS-2132
>
>
> Repository: mesos
>
>
> Description
> -------
>
> libprocess gives HTTP Handlers a Request object. If one of those handlers wants to act as a proxy and forward all/part of that request across the network, it currently has to split up the object it is given, manually encode the query string, and then call either http::get() or http::post() (Other HTTP methods aren't supported).
>
> Adds a general mechanism for forwarding requests to remote nodes (IP/Port) pairs and getting back the response.
>
> Cleans up some right angle brackets as a drive-by fix.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/include/process/http.hpp 9cf05acbb724ab9af8010d1788621d37a0e48e86
> 3rdparty/libprocess/src/http.cpp b00f33339366f5c06b6f20e38c5ae0c23b8a9358
>
> Diff: https://reviews.apache.org/r/28254/diff/
>
>
> Testing
> -------
>
> make distcheck ubuntu 14.04
>
>
> Thanks,
>
> Cody Maloney
>
>