Обсуждение: pgsql/ oc/src/sgml/runtime.sgml rc/backend/lib ...

Поиск
Список
Период
Сортировка

pgsql/ oc/src/sgml/runtime.sgml rc/backend/lib ...

От
tgl@postgresql.org
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/09/21 13:06:12

Modified files:
    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 postgresql.conf.sample
    src/include/storage: proc.h

Log message:
    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?