openziti / tlsuv

TLS and HTTP(s) client library for libuv
https://docs.openziti.io/tlsuv/
MIT License
43 stars 5 forks source link

Read start: check ssl engine data #200

Closed ekoby closed 7 months ago

ekoby commented 7 months ago

when application stops reading (tlsuv_stream_read_stop) or right after handshake is complete, there may be SSL data that was already read from the wire but not processed/delivered to application.

This change makes sure that buffered SSL data is delivered to the application as soon as requested via tlsuv_stream_read_start()