Skip Menu |

This queue is for tickets about the RPC-XML CPAN distribution.

Report information
The Basics
Id: 8097
Status: resolved
Priority: 0/
Queue: RPC-XML

People
Owner: rjray [...] blackperl.com
Requestors: eclark [...] tmtrading.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.54
Fixed in: (no value)



Subject: content encoding header not being set
Compression was broken completely by a simple mistake. See patch. I guess I'm the only person in the world who actually uses this as a server.
--- Server.pm.orig 2004-10-22 18:48:09.000000000 -0700 +++ Server.pm 2004-10-22 18:49:25.000000000 -0700 @@ -1343,7 +1343,7 @@ my $self = shift; my $conn = shift; - my ($req, $reqxml, $resp, $respxml, $compress, $do_compress, $parser, + my ($req, $reqxml, $resp, $respxml, $do_compress, $parser, $com_engine, $length, $read, $buf, $resp_fh, $tmpfile); my $me = ref($self) . '::process_request'; @@ -1469,7 +1469,7 @@ $self->compress_re)) { $do_compress = 1; - $resp->content_encoding($compress); + $resp->content_encoding($self->compress); } # Next step, determine the response disposition. If it is above the # threshhold for a requested file cut-off, send it to a temp file
This is a more-detailed explanation of a problem that has been reported under different "headings" by a few others. Keeping this one and marking the others as duplicates of this. Nice name for the patch, by the way...
Subject: Compression marker not set properly in Content-Encoding header
Change title to better reflect the problem.
From: detlef.lammermann [...] materna.de
[RJRAY - Sat Nov 20 04:36:43 2004]: Show quoted text
> Change title to better reflect the problem.
Do you plan to release an official new version of RPC::XML::Server in the near future with this bug fixed? Thanks.
Show quoted text
> Do you plan to release an official new version of RPC::XML::Server in > the near future with this bug fixed?
Version 0.55 will be uploaded to CPAN in an hour or so from this update.