After listening a ssl-stream, the peeked-byte is set.<br>Then reading a byte from the stream keeps returning this peeked-byte without setting it to nil.<br>So, read-line on that stream gives an endless stream of that peeked byte.<br>
<br>I suggest setting the peeked-byte to nil in the method stream-read-byte.<br>But still its not possible to use (listen stream) on ssl-stream as it blocks when there's nothing to read.<br>Would CFFI call to SSL_peek() help?<br>
<br>Thanks!<br>