Branch: Tag:


2009-07-23 14:10:33 by Henrik Grubbström (Grubba) <>

Fixed length-limit in connect_unix().
Added automatic retry on EINTR to connect_unix().

Rev: src/modules/files/file.c:1.416

226:      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Open a UNIX domain socket connection to the specified destination.</p> + </dd> + <dt class='head--doc'><span id='p-filename'></span>Parameter <code class='parameter'>filename</code></dt> + <dd></dd><dd class='body--doc'><p>Filename to create.</p>   <p> In nonblocking mode, success is indicated with the write-callback,    and failure with the close-callback or the read_oob-callback.</p>   </dd>
236:   <dd class='body--doc'><p>In nonblocking mode <code class='expr'>0</code> (zero) may be returned and <code>errno()</code> set    to <tt>EWOULDBLOCK</tt> or <tt>WSAEWOULDBLOCK</tt>. This should not be regarded    as a connection failure.</p> + </dd> + <dt class='head--doc'>Note</dt> + <dd class='body--doc'><p><code>path</code> had a quite restrictive length limit (~100 characters) +  prior to Pike 7.8.334.</p>   </dd></dl>