Fails as Apache-AuthenNTLM attempts to use Apache::Connection::remote_host
to alter the remote hostname so it can check to see if is the same
connection when it is next called:

>From AuthenNTLM.pm:
539      # we cannot attach our object to the connection record. Since in
540      # Apache 1.3 there is only one connection at a time per process
541      # we can cache our object and check if the connection has changed.
542      # The check is done by slightly changing the remote_host member, which
543      # persists as long as the connection does
544      # This has to be reworked to work with Apache 2.0
545      if (ref ($cache) ne $class || $$conn != $cache -> {connectionid} || $conn -> 
remote_host ne $cache->{remote_host})
546          {
547          $conn -> remote_host ($conn -> remote_host . ' ') ;
548          $self = {connectionid => $$conn, remote_host => $conn -> remote_host} ;

 This breaks in 1.99_16, but AuthenNTLM suggests it has ModPerl 2 support
written in, so is this something that has changed recently?

 I'm also not exactly sure why there are three checks (ie. that there is a
cache object, that the cache object connection id is the same as the
current, and then that the (altered) remote host name is the same in
both).  I would have thought it would be enought to compare the
connectionid, but this seems to stay the same between connections..?

 Any ideas?

ta,

Chris


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to