Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Re: apache 2.4.x and mod_perl 2.0
 

Index | Next | Previous | View Flat


torsten.foertsch at gmx

Mar 15, 2012, 11:17 AM


Views: 1868
Permalink
Re: apache 2.4.x and mod_perl 2.0 [In reply to]

On Thursday, 15 March 2012 10:28:39 Brett @Google wrote:
> "modperl_interp.c", line 503: undefined struct/union member: remote_ip

Further, last fall struct conn_rec was changed again in these commits:

$ svn log -r1206291 -r1204968
------------------------------------------------------------------------
r1206291 | minfrin | 2011-11-25 20:42:04 +0100 (Fri, 25 Nov 2011) | 4 lines

Introduce a per connection "peer_ip" and a per request "client_ip" to
distinguish between the raw IP address of the connection and the effective
IP address of the request.

------------------------------------------------------------------------
r1204968 | minfrin | 2011-11-22 14:10:39 +0100 (Tue, 22 Nov 2011) | 4 lines

Introduce a per request version of the remote IP address, which can be
optionally modified by a module when the effective IP of the client
is not the same as the real IP of the client (such as a load balancer).

------------------------------------------------------------------------

These changes were then at least partly backported to httpd 2.4, see

http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/include/httpd.h?r1=1208378&r2=1214022
http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/include/httpd.h?r1=1204743&r2=1208378

IMHO, we should implement a compatibility function that maps remote_ip() to
client_ip and provide the new structure members independently.

Torsten Förtsch

--
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

Subject User Time
apache 2.4.x and mod_perl 2.0 brett.maxfield at gmail Mar 14, 2012, 2:35 AM
    Re: apache 2.4.x and mod_perl 2.0 torsten.foertsch at gmx Mar 14, 2012, 3:43 AM
        Re: apache 2.4.x and mod_perl 2.0 brett.maxfield at gmail Mar 14, 2012, 5:46 AM
    Re: apache 2.4.x and mod_perl 2.0 brett.maxfield at gmail Mar 14, 2012, 5:17 PM
    Re: apache 2.4.x and mod_perl 2.0 brett.maxfield at gmail Mar 14, 2012, 5:28 PM
    Re: apache 2.4.x and mod_perl 2.0 torsten.foertsch at gmx Mar 15, 2012, 8:58 AM
    Re: apache 2.4.x and mod_perl 2.0 torsten.foertsch at gmx Mar 15, 2012, 11:17 AM
        Re: apache 2.4.x and mod_perl 2.0 KMcGrail at PCCC Mar 16, 2012, 8:23 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.