title: Perl Mojolicious - How to make it handle multiple connections at once?
body: <p>I setup a quick Mojolicious server like this:</p>
  
  <pre><code>use Mojolicious::Lite;
  
  get '/' =&gt; sub {
      my $self = shift;
  
      sleep 5; #sleep here, I'm testing multiple connections at once
  
      $self-&gt;render_text('Hello World!');
  };
  
  app-&gt;start;
  </code></pre>
  
  <p>I then start it with: <code>perl Mojolicious.pl daemon --listen=https://127.0.0.1:3000</code></p>
  
  <p>Problem is, if I run this command concurrently:</p>
  
  <p><code>time curl https://127.0.0.1:3000/ -k</code></p>
  
  <p>It seems to only use 1 thread for requests, because if I make multiple requests at once, they can take much longer than 5 seconds.  It's as if they are all queued up.</p>
  
  <p>Am I missing something here?  I'm wanting to use Mojolicous, but only if it can handle more than one client at a time.</p>