]> granicus.if.org Git - postgresql/commit
Add an overall timeout on the client authentication cycle, so that
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2001 17:06:12 +0000 (17:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Sep 2001 17:06:12 +0000 (17:06 +0000)
commit35b7601b0484f8cf73299932b610bba6bcdde387
treebe929f72b1fa13a689ce36d7afcddd777375c44e
parente3f5bc3492efa1fa6d20491bb3134c9b32f30b7d
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?
doc/src/sgml/runtime.sgml
src/backend/libpq/pqsignal.c
src/backend/postmaster/postmaster.c
src/backend/storage/lmgr/proc.c
src/backend/tcop/postgres.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/storage/proc.h