<div dir="ltr">I was hoping SSL_peek might work, but I can't find any documentation.<br><br>I do have the guarantee from the application layer that messaging occurs in a strict  client request -> server response sequence, without any pipelining, etc.  I know with certainty that the heartbeat response is the next record; I just need to coax the OpenSSL layer to read the next record, which I know will not be application data.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 24, 2016 at 5:06 PM, Salz, Rich <span dir="ltr"><<a href="mailto:rsalz@akamai.com" target="_blank">rsalz@akamai.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't think you can do this.  You will have to have your layer wrap application data in its own packaging layer.  And of course, if there's a TCP break, you have no idea how many bytes were sent/received on either end.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
openssl-dev mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-dev" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-dev</a><br>
</div></div></blockquote></div><br></div>