Skip to content

Commit

Permalink
+ Avoid destroying receiving buffer on each read call.
Browse files Browse the repository at this point in the history
  • Loading branch information
THORCOMP committed Jun 8, 2022
1 parent bbb5911 commit 31d528d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/API/Eulerian/EDW/WebSocket.pm
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ sub join
$read = $socket->sysread( $buf, $bufsize, $offset );
if( $read > 0 ) {
$peer->read( $buf );
undef $buf;
} else {
close( $socket );
undef( $socket );
Expand Down

0 comments on commit 31d528d

Please sign in to comment.