Cogmasters / concord

A Discord API wrapper library made in C
https://cogmasters.github.io/concord/
MIT License
523 stars 30 forks source link

fix(websockets): fix tls related bug #145

Closed ThePedroo closed 1 year ago

ThePedroo commented 1 year ago

Notice

What?

This PR comes with edits that should fix the issue that when TLS ends for some reasons, will proceed to close connection.

Why?

Since the connection is already closed, will proceed to only end connection without trying to close.

Testing?

Changes were not tested, should be done soon. But is successfully compiling.

lcsmuller commented 1 year ago

Please point this PR to dev branch!