Skip to content

Commit

Permalink
fix: no playback on join
Browse files Browse the repository at this point in the history
  • Loading branch information
Neko-Life committed Nov 26, 2024
1 parent 3eb3752 commit f41e19a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dpp/sslclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@ void ssl_client::on_read(socket fd, const struct socket_events& ev) {
}

void ssl_client::on_write(socket fd, const struct socket_events& e) {
/* We wanted write before so keep it */
socket_events se{e};
se.flags |= WANT_WRITE;
owner->socketengine->update_socket(se);

if (!tcp_connect_done) {
tcp_connect_done = true;
Expand Down

0 comments on commit f41e19a

Please sign in to comment.