Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

prev. commit requires this infinite loop

  • Loading branch information...
commit fe92b341216814618f9f299c6ceea8d4cfd9aefc 1 parent 610abc6
kazuho authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 lib/Plack/Handler/Starlet.pm
4 lib/Plack/Handler/Starlet.pm
@@ -63,7 +63,9 @@ sub run {
63 63 } else {
64 64 # run directly, mainly for debugging
65 65 local $SIG{TERM} = sub { exit 0; };
66   - $self->accept_loop($app, $self->{max_reqs_per_child});
  66 + while (1) {
  67 + $self->accept_loop($app, $self->{max_reqs_per_child});
  68 + }
67 69 }
68 70 }
69 71

0 comments on commit fe92b34

Please sign in to comment.
Something went wrong with that request. Please try again.