well replying to myself the patches below implements the test and make the following accessors in conn_rec writeable:
* remote_ip * remote_host * aborted * local_ip * local_host
I didn't know how to write a test for local_addr and remote_addr maybe someone could give me a pointer how to create such an APR::SockAddr-Object?
Thanks Tom, but I'm still not convinced, that it's a goodness to expose those. Let's discuss each one separately.
The tests need some work since they don't restore the value when modifying the conn_rec struct, which may have bad side-effects. But don't worry about that for now.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
