Skip Menu |
 

This queue is for tickets about the AnyEvent-STOMP CPAN distribution.

Report information
The Basics
Id: 68432
Status: open
Priority: 0/
Queue: AnyEvent-STOMP

People
Owner: OTTERLEY [...] cpan.org
Requestors: bobtfish [...] bobtfish.net
TJC [...] cpan.org
Cc:
AdminCc:

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



Subject: Invalid content-length set for undefined bodies
Download (untitled) / with headers
text/plain 261b
In send_frame(), if the $body is undef, then the content-length will be set to undef as well. (As length(undef)==undef, not zero as you seem to assume). This would be the correct way to do it, I think? $headers->{'content-length'} = length($body) || 0;
Download (untitled) / with headers
text/plain 132b
Can this get into a release (I notice a patch was applied on github)? It breaks things with the RabbitMQ Stomp adaptor (at least)..


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.