Skip Menu |

This queue is for tickets about the Net-Async-WebSocket CPAN distribution.

Report information
The Basics
Id: 92477
Status: resolved
Priority: 0/
Queue: Net-Async-WebSocket

People
Owner: Nobody in particular
Requestors: TEAM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.08



Subject: Handling "false" frames in ->on_read
Net::Async::WebSocket::Protocol->on_read does this: while( my $frame = $framebuffer->next ) { ... } however that's just receiving arbitrary strings (or bytes, for binary frames - minor encoding issues with Protocol::WebSocket aside). Suspect it should read more like this: while( defined( my $frame = $framebuffer->next ) ) { ... } but will run through some more tests to see how well this ties in with the frame type handling (ping/pong etc.). cheers, Tom
On Sat Jan 25 23:49:58 2014, TEAM wrote: Show quoted text
> Suspect it should read more like this: > > while( defined( my $frame = $framebuffer->next ) ) { > ... > }
Fixed in source. Will be in next version. -- Paul Evans
Was released in 0.08 -- Paul Evans