> The postmaster contains this code just before it waits for input:
>
> #ifdef USE_SSL
> for (curr = DLGetHead(PortList); curr; curr = DLGetSucc(curr))
> {
> if (((Port *) DLE_VAL(curr))->ssl &&
> SSL_pending(((Port *) DLE_VAL(curr))->ssl) > 0)
>
Magnus Hagander <[EMAIL PROTECTED]> writes:
> SSL_pending() returns true when there is data in the SSL buffer of the
> socket.
> The problem is that since SSL uses block cipher, even if you read one just
> byte from the socket (using ssl_read), OpenSSL will read a complete block
> from the network
The postmaster contains this code just before it waits for input:
#ifdef USE_SSL
for (curr = DLGetHead(PortList); curr; curr = DLGetSucc(curr))
{
if (((Port *) DLE_VAL(curr))->ssl &&
SSL_pending(((Port *) DLE_VAL(curr))->ssl) > 0)
{