Add an overall timeout on the client authentication cycle, so that

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 35b7601b0484f8cf73299932b610bba6bcdde387
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-09-21T17:06:12Z
Releases: 7.2.1
Add an overall timeout on the client authentication cycle, so that
a hung client or lost connection can't indefinitely block a postmaster
child (not to mention the possibility of deliberate DoS attacks).
Timeout is controlled by new authentication_timeout GUC variable,
which I set to 60 seconds by default ... does that seem reasonable?

Files