Skip Menu |

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

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

People
Owner: rjray [...] blackperl.com
Requestors: mstreek [...] xs4all.net
Cc:
AdminCc:

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



Subject: [PATCH] Add HTTP::Request to RPC::XML::Server passed to RPC::XML::Method calls
Date: Tue, 08 Jun 2010 15:33:43 +0200
To: bug-RPC-XML [...] rt.cpan.org
From: Martijn van de Streek <mstreek [...] xs4all.net>
Hello, We need access to HTTP request headers for access control, because our RPC-server is behind a reverse HTTP proxy. This patch adds the current HTTP::Request to the RPC::XML::Server passed to RPC::XML::Method calls, so we can read request headers from it. This allows us to parse "X-Forwarded-For" if the "peerhost" is one of our proxy servers. You should be able to apply this using "git am filename.patch". Cheers, Martijn

Message body is not shown because sender requested not to inline it.

Fixed in git (http://github.com/rjray/rpc-xml/commit/12dc29c33da5e9a14dcb57d8e8eb9a47cbf0b649). Will be in the next release. Randy -- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray@blackperl.com randy.j.ray@gmail.com