• Vladislav Vaintroub's avatar
    MDEV-9836 Connection lost when using SSL · 2a45fa90
    Vladislav Vaintroub authored
    Don't read from socket in yassl in SSL_pending().
    Just return size of the buffered processed data.
    This is what OpenSSL is documented to do too:
    
      SSL_pending() returns the number of bytes which have been processed,
      buffered and are available inside ssl for immediate read.
    2a45fa90
ssl_timeout-9836.test 304 Bytes