1

(1 replies, posted in wolfSSL)

I am polling(poll/select) a blocking OS socket for readability, and was wondering that if i get signaled readability from the OS if i can also be  sure that wolfSSL_read() will not block.

I am mainly concerned that if for example a protocol message or only half a ssl record arrived that wolfSSL_read() would block, can you tell me if it would block or not and how the general way to go about this would be (just set nonblocking and still poll the underlying socket?) with wolfSSL.