[exim-dev] [Bug 2750] Documentation: readsocket: possible er…

Góra strony
Delete this message
Reply to this message
Autor: admin
Data:  
Dla: exim-dev
Temat: [exim-dev] [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

--- Comment #2 from u34 <u34@???> ---
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.