GNU bug report logs - #79450
(web server) documentation is wrong

Previous Next

Package: guile;

Reported by: "Athena L. Martin" <secure <at> alm.website>

Date: Mon, 15 Sep 2025 00:13:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: "Athena L. Martin" <secure <at> alm.website>
To: 79450 <at> debbugs.gnu.org
Subject: bug#79450: (web server) documentation is wrong
Date: Mon, 15 Sep 2025 01:11:45 +0100
[Message part 1 (text/plain, inline)]
The manual says that (web server)'s 'http can accept an address family like 
this:
(run-server handler 'http '(#:family AF_INET6 #:port 8081))

This doesn't work because AF_INET6 is quoted here. A correct example looks 
like:
(run-server handler 'http `(#:family ,AF_INET6 #:port 8081))

Note that this example currently doesn't work because of another bug (make-
default-socket hard-codes PF_INET) which I have reported in another message.

I would fix the manual myself but I don't know texinfo.

(Question: Did anyone test this example before publishing it, or did something 
change later? How did an incorrect version of such a simple example sneak in?)
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.