Mailing List Archive

[Bug 2750] Documentation: readsocket: possible errors are listed, but matching sub strings for <fail string> are not
https://bugs.exim.org/show_bug.cgi?id=2750

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED

--- Comment #1 from Jeremy Harris <jgh146exb@wizmail.org> ---
No clear description of bug.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2750] Documentation: readsocket: possible errors are listed, but matching sub strings for <fail string> are not [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2750

--- Comment #2 from u34 <u34@net9.ga> ---
Trying to clarify the description:
Suppose I want to protect against failure to write the request string.
Such a failure is explicitly mentioned in the possible errors list.
Should I use

${readsocket{/socket/name}{request string}{3s}{\n}{socket failure}}

?

${readsocket{/socket/name}{request string}{3s}{\n}{write failure}}

?

${readsocket{/socket/name}{request string}{3s}{\n}{request failure}}

?

Something else?

Just like a manual page usually lists the possible error code for a system
call,
I think there should be some thing similar here.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2750] Documentation: readsocket: possible errors are listed, but matching sub strings for <fail string> are not [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2750

--- Comment #3 from u34 <u34@net9.ga> ---
My mistake. Quoting
http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpansionitems

By default, any of these errors causes the expansion to fail. However, if
you
supply a fifth substring, it is expanded and used when any of the above
errors
occurs.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2750] Documentation: readsocket: possible errors are listed, but matching sub strings for <fail string> are not [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2750

Heiko Schlittermann <hs@schlittermann.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |hs@schlittermann.de
Assignee|unallocated@exim.org |hs@schlittermann.de

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2750] Documentation: readsocket: possible errors are listed, but matching sub strings for <fail string> are not [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2750

Heiko Schlittermann <hs@schlittermann.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|hs@schlittermann.de |unallocated@exim.org

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##