Dancer and timeout #982

Closed
kolok opened this Issue Dec 26, 2013 · 2 comments

Projects

None yet

2 participants

@kolok

Hello

My situation is the following.
I use a Perl Dancer API application (with Starman). My main client timeout after 10 seconds. But the Dancer process still run after if the request is really big (BigData project) then if a client call the API on the same server instance which still run then it doesn't answer.

Is there a way to set a timeout to Dancer which stop the execution of the current process ?

Thank you
Nicolas

@yanick

At the Dancer app level, there is currently no such thing, as the app just send things along to the plack layer, without any question nor follow-up. What I can check is if we can have Dancer deal with streamed answers, and verify if those would stop sending if the client closes the connection.

@yanick

We have the streaming wish at #1002, so I'll close this ticket.

@yanick yanick closed this May 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment