GNU bug report logs -
#79450
(web server) documentation is wrong
Previous Next
To reply to this bug, email your comments to 79450 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#79450
; Package
guile
.
(Mon, 15 Sep 2025 00:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Athena L. Martin" <secure <at> alm.website>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Mon, 15 Sep 2025 00:13:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[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.