Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Dancer and timeout #982

Closed
kolok opened this Issue · 2 comments

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
Owner

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
Owner

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

@yanick yanick closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.