On 18/11/2021 11:14, Yann Ylavic wrote:
On Wed, Nov 17, 2021 at 8:10 PM Mladen Turk <mt...@apache.org> wrote:

This new patch does not blindly set nonblocking for the pipe-socket
(like r1894917) but adds a new ->socket boolean to Windows' struct
apr_file_t (similar to the existing ->pipe flag), such that
file_socket_pipe_create() can now create a nonblocking socket (via
create_socket_pipe) for the read side of the pipe and apr_file_read()
can do the right thing (i.e. WSARecv/WSASend) when ->socket is set.

Does it work for you?


Please apply the patch to trunk.
It works, but I'll add few bits so it matches the 1.7x branch
API (eg, file_socket_pipe_close vs apr_file_socket_pipe_close in 1.7.x, etc)
I'd like to have that ported to 1.7.x branch.


Regards
--
^TM

Reply via email to