You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As previously talked here https://forum.nim-lang.org/t/12495 (thanks for constructive criticism btw).
I patched proc inflate by adding `and (b.len - b.pos != 0) in the while loop condition, and not it works.
But it would be nice to have this functionality exposed in some way. It seems nntp servers treat the whole connection, not each message, as a stream, and only send the lastBlock bit set on disconnection, so you need to decompress data in the meantime.
I'd rather use zippy than zlib for no external dependencies.
The text was updated successfully, but these errors were encountered:
As previously talked here https://forum.nim-lang.org/t/12495 (thanks for constructive criticism btw).
I patched proc inflate by adding `and (b.len - b.pos != 0) in the while loop condition, and not it works.
But it would be nice to have this functionality exposed in some way. It seems nntp servers treat the whole connection, not each message, as a stream, and only send the lastBlock bit set on disconnection, so you need to decompress data in the meantime.
I'd rather use zippy than zlib for no external dependencies.
The text was updated successfully, but these errors were encountered: