Skip to content

Commit

Permalink
added FAQ answers for timeout error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 20, 2011
1 parent f15dfdb commit 3ba405f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/Mojolicious/Guides/FAQ.pod
Expand Up @@ -78,6 +78,20 @@ passphrase with the C<secret> attribute of L<Mojolicious>.

app->secret('My very secret passphrase.');

=head2 What does "Connection timeout." mean.

To protect your applications from denial-of-service attacks, all connections
have an inactivity timeout which limits how long a connection may be inactive
before being dropped automatically. It defaults to C<20> seconds for the user
agent and C<15> seconds for all built-in servers, and is commonly referred to
as C<keep_alive_timeout>.

=head2 What does "Premature connection close." mean?

This error message is often related to the one above, and means that the web
server closed the connection before the user agent could receive the whole
response.

=head2 I think i have found a bug, what should i do now?

First make sure you are using the latest version of L<Mojolicious>, it is
Expand Down

0 comments on commit 3ba405f

Please sign in to comment.