I have a small problem.

I am using a bio pair around one side of the SSL engine (encrypted:
network facing) and a BIO wrapper around the other side (decrypted:
application facing).

I have a "push model" of data: it arrives from the network and from the
application, I pipe it through the engine, look at what comes out the
other side, and send that to the network and/or app as appropriate.

In some circumstances, when no more data is to come from the network,
there is no indication of this. The app must tear the network connection
down. But, the app hasn't received all the data from the SSL engine yet,
so it is oblivious. The SSL engine won't finish processing data until
the BIOs are closed. Is there some way to flush data to get it through
the SSL engine?

Reply via email to