Stas Boukarev
Stas Boukarev
Can you try https://github.com/edicl/chunga/commit/e83c804fc22db666870d05dd38b9b5bd37a2558f And I hope I got the logic right, as I don't have anything to test it on.
I'm not sure it's the right fix, maybe ECL implements read-sequence incorrectly. CLHS says that read-sequence returns fewer elements only upon reaching EOF.
This should be really handled by cl+ssl. It doesn't to provide any good way of using different tls/ssl methods.
Changing defaults is rarely a good idea.
Could it be cross-compiled? EQL itself is somehow built for android.
The behavior of (setf flexi-stream-position) isn't documented anywhere. You should use FILE-POSITION.
Is the issue with double buffering? I.e. file-position should clear the flexi-stream buffer of unread bytes?
flexi-stream-position is not really properly documented, so the most intuitive thing would be not to have it and only rely on file-position. Which, at the moment, doesn't play well with...
code-char doesn't seem right, though.
I don't see a pull request linked to this.