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)

Reply via email to