[
https://issues.apache.org/jira/browse/MESOS-6788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anand Mazumdar updated MESOS-6788:
----------------------------------
Shepherd: (was: Benjamin Hindman)
Assignee: Benjamin Hindman
> Avoid stack overflow when handling streaming responses in API handlers
> ----------------------------------------------------------------------
>
> Key: MESOS-6788
> URL: https://issues.apache.org/jira/browse/MESOS-6788
> Project: Mesos
> Issue Type: Bug
> Reporter: Vinod Kone
> Assignee: Benjamin Hindman
> Fix For: 1.2.0
>
>
> Right now both the `connect()` helper in src/slave/http.cpp and `transform()`
> helper in src/common/recordio.hpp use recursion to read data from one pipe
> and write to another.
> The way these helpers are written could cause stack overflow. Ideally we
> should be able to leverage the new `process::loop` abstraction for that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)