You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2016/12/14 17:44:58 UTC
[jira] [Updated] (MESOS-6788) Avoid stack overflow when handling
streaming responses in API handlers
[ 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)