[InterNetNews/inn] b84aca: innd: Return 401 instead of 501 for known LIST com...

Julien ÉLIE noreply at github.com
Thu Apr 7 20:39:14 UTC 2022


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: b84aca0ad3210692afd4811cccd0e392292e1cdd
      https://github.com/InterNetNews/inn/commit/b84aca0ad3210692afd4811cccd0e392292e1cdd
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M innd/nc.c

  Log Message:
  -----------
  innd: Return 401 instead of 501 for known LIST commands

A few LIST commands (like LIST COUNTS) are handled by nnrpd only.
innd was returning a syntax error (501) for them.  Now, inform
the client that such commands are available in reader mode (with a
"401 MODE-READER" response) unless of course if the client cannot
switch to reader mode.




More information about the inn-committers mailing list