Re: Streaming Replication on win32 - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Streaming Replication on win32
Date
Msg-id 3f0b79eb1001180211o48d5e776kaaab14e4b20b0777@mail.gmail.com
Whole thread Raw
In response to Re: Streaming Replication on win32  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Mon, Jan 18, 2010 at 6:40 PM, Magnus Hagander <magnus@hagander.net> wrote:
> SSL_read calls into pqwin32_recv(), so you have the same problem. (see
> my_sock_read() and my_sock_write() in be-secure.c)

Oh, I confirmed that. Thanks!

Can we prevent SSL_read from being blocked in the renegotiation case
if we use poll/select in my_sock_read() even if the socket is blocking
mode? If Yes, ISTM that we can work around the problem by using the
special BIO function which checks the socket, as BIO.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: RADIUS authentication
Next
From: Boszormenyi Zoltan
Date:
Subject: Fix auto-prepare #2