{"issue":{"state":"open","created_at":"2011-12-12T11:32:15Z","updated_at":"2011-12-12T11:32:15Z","comments":0,"user":{"gravatar_id":"ba1d6472ee5893bdfc012225e9afa263","id":86659,"url":"https://api.github.com/users/francois2metz","avatar_url":"https://secure.gravatar.com/avatar/ba1d6472ee5893bdfc012225e9afa263?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"francois2metz"},"body":"Hi,\r\n\r\nWe are trying to move from yaws to misultin on U.C.Engine (https://github.com/AF83/ucengine).\r\n\r\nWe have a streaming API (aka EventSource or Server-Sent Events). The current logic is currently inside a gen_server. It makes easier to handle all cases and the connection close (https://github.com/AF83/ucengine/blob/487cef0a3ccdbfae369938ec3ec36d296ac6c686/ucengine/src/controllers/async/uce_async_stream.erl)\r\n\r\nWith misultin I don't know how to achieve the same result. The request Pid is trashed as soon as the gen_server is started. Therefore the connection is closed.\r\n\r\nDo you have something similar to streamcontent_from_pid from yaws?\r\n\r\n","assignee":null,"id":2521989,"labels":[],"number":86,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Handling streaming connection from inside a gen_server","html_url":"https://github.com/ostinelli/misultin/issues/86","closed_at":null,"url":"https://api.github.com/repos/ostinelli/misultin/issues/86","milestone":null},"action":"opened"}