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
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;
Can this get into a release (I notice a patch was applied on github)? It breaks things with the RabbitMQ Stomp adaptor (at least)..