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