sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

Read all available data from the SSL buffer #105

Closed mickael9 closed 6 years ago

mickael9 commented 6 years ago

We could end up in a situation where websocket messages would stay stuck in the SSL buffer because we only read one at a time although the SSL buffer can hold more.

This addresses the sync issues I mentioned in #104