[InterNetNews/inn] 6b732b: Permit increasing FD_SETSIZE at build time

Julien ÉLIE noreply at github.com
Sat Jul 8 16:24:03 UTC 2023


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: 6b732b2ad3fe3af04dc85821cb126dc5b9efe10a
      https://github.com/InterNetNews/inn/commit/6b732b2ad3fe3af04dc85821cb126dc5b9efe10a
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2023-07-08 (Sat, 08 Jul 2023)

  Changed paths:
    M doc/pod/inn.conf.pod
    M doc/pod/install.pod
    M doc/pod/news.pod
    M include/portable/sd-daemon.h
    M include/portable/system.h
    M support/getrra-c-util

  Log Message:
  -----------
  Permit increasing FD_SETSIZE at build time

Add a -DLARGE_FD_SETSIZE option to set the value of FD_SETSIZE at
build time.  The default system value is sometimes not enough for busy
news servers.

Thanks to Jesse Rehmer for the bug report.  Patch taken from Diablo,
and adapted for INN.

The long-term solution is of course to switch to libevent, as this
patch is a terrible hack.

see #273




More information about the inn-committers mailing list