diff --git a/deps/wslay/lib/wslay_event.c b/deps/wslay/lib/wslay_event.c index 926a5183..b3c4ed79 100644 --- a/deps/wslay/lib/wslay_event.c +++ b/deps/wslay/lib/wslay_event.c @@ -860,8 +860,6 @@ int wslay_event_send(wslay_event_context_ptr ctx) ctx->obuflimit = ctx->obuf+r; if(eof) { ctx->omsg->fin = 1; - } else if(r == 0) { - break; } ctx->opayloadlen = r; ctx->opayloadoff = 0;