Skip Menu |

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

Report information
The Basics
Id: 43272
Status: resolved
Priority: 0/
Queue: Net-UPnP

People
Owner: Nobody in particular
Requestors: miz999 [...] gmail.com
Cc:
AdminCc:

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



Subject: HTTP.pm SOAP body append CRLF
I am using it by model name Aterm Series. Even upnpgwdump.pl of the sample did not work. When not only header but also body adjusted the line feed code(convert to CRLF) when the request of SOAP of HTTP.pm was sent, it operated normally. It is my tentatively report though I do not understand how to become it by the specification. After all, is it because of old Atrem or portmapping did not work correctly. I think that this is a problem on the router side. Diff that I used is appended. I am not good at English. Therefore, sentences were made by the automatic translation from Japanese to English.
Subject: HTTP.pm.diff
*** UPnP/HTTP.pm 2009-02-08 19:08:29.000000000 +0900 --- /usr/local/share/perl/5.8.8/Net/UPnP/HTTP.pm 2009-02-14 07:28:08.000000000 +0900 *************** *** 56,61 **** --- 56,64 ---- $res, ); + $req_content =~ s/\r//g; + $req_content =~ s/\n/\r\n/g; + $req_content_len = length($req_content); $req_header = <<"REQUEST_HEADER";
Hi miz, I have checked your changes using other UPnP devices last week, and I have added your changes into the repository as the following http://clinkperl.svn.sourceforge.net/viewvc/clinkperl/trunk/lib/Net/UPnP/HTTP.pm?r1=8&r2=18 I will release the changes as the next version with other patches. Thanks for your report :-)