From: Jeremy Harris Date: Thu, 28 Jan 2016 14:52:19 +0000 (+0000) Subject: Docs: clarify command string content in ${readsocket } X-Git-Tag: exim-4_87_RC4~36 X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/dd5149df16649980b36f5cbbcc401319c5299256 Docs: clarify command string content in ${readsocket } --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 18d67fe20..904f831e8 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -9677,7 +9677,8 @@ ${readsocket{inet:[::1]:1234}{request string}} Only a single host name may be given, but if looking it up yields more than one IP address, they are each tried in turn until a connection is made. For both kinds of socket, Exim makes a connection, writes the request string -(unless it is an empty string) and reads from the socket until an end-of-file +unless it is an empty string; and no terminating NUL is ever sent) +and reads from the socket until an end-of-file is read. A timeout of 5 seconds is applied. Additional, optional arguments extend what can be done. Firstly, you can vary the timeout. For example: .code