[cl-plus-ssl-devel] Bug in streams.lisp
Hi Five
130553 at gmail.com
Mon Feb 2 21:54:51 UTC 2009
After listening a ssl-stream, the peeked-byte is set.
Then reading a byte from the stream keeps returning this peeked-byte without
setting it to nil.
So, read-line on that stream gives an endless stream of that peeked byte.
I suggest setting the peeked-byte to nil in the method stream-read-byte.
But still its not possible to use (listen stream) on ssl-stream as it blocks
when there's nothing to read.
Would CFFI call to SSL_peek() help?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-plus-ssl-devel/attachments/20090202/a400a636/attachment.html>
More information about the cl-plus-ssl-devel
mailing list