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";