On Thu, Apr 17, 2014 at 04:39:29PM +0200, Piotr Kliczewski wrote:

> I would like to know whether it is possible to peek a message that was
> received after successful handshake? I am looking for similar behavior
> to python socket.MSG_PEEK flag which examine the data without
> consuming it and subsequent recv will read the data again.

This would be the job of a buffering layer above the SSL connection.
In Postfix, for example, there is a buffering "vstream" layer above
SSL.  Peeking at plaintext data without consuming it is a vstream
layer feature.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to