[InterNetNews/inn] 588f90: pullnews: Gracefully handle socket timeout

Julien ÉLIE noreply at github.com
Tue Jan 24 21:29:02 UTC 2023


  Branch: refs/heads/2.7
  Home:   https://github.com/InterNetNews/inn
  Commit: 588f90b842c75f4554dd1b21caacf7796e2e6d6d
      https://github.com/InterNetNews/inn/commit/588f90b842c75f4554dd1b21caacf7796e2e6d6d
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M doc/pod/news.pod
    M doc/pod/pullnews.pod
    M frontends/pullnews.in

  Log Message:
  -----------
  pullnews: Gracefully handle socket timeout

pullnews goes on downloading articles one by one from a remote news
server even though the connection was stopped for whatever reason.  It
now checks for that, and makes re-attempts according to the -t setting.

Net::NNTP returns a 421 (sic) pseudo response code when a connection is no
longer active; that's what pullnews checks for.

Thanks to Jesse Rehmer for the bug report.




More information about the inn-committers mailing list