I touched on this in an earlier email, but now I'm pretty certain this is a bug
in Apache::AdBlocker from the Eagle book.

The line that is buggy is:

$r->headers_in->do(sub {$request->header(@_);});

This line does not set all the headers that the original request contains.
Rather, I only get the following:

[Sun Jan 16 16:15:20 2000] [debug]
/opt/apache/sw3.tivoli.com/80/lib/perl/Apache/ProxyStuff.pm(201): [cl
ient 146.84.34.20] (11329) Headers for /cf/home/news/news_do_insert.cfm:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*

I'm only getting the first header. I tried using my own code:

$req->header($r->headers_in);

and I get the following:

[Sun Jan 16 16:23:48 2000] [debug]
/opt/apache/sw3.tivoli.com/80/lib/perl/Apache/ProxyStuff.pm(201): [client
146.84.34.20] (11347) Headers for /cf/home/news/news_do_insert.cfm:
Connection: Keep-Alive
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Encoding: gzip
Accept-Language: en
Host: sw3
Referer: http://sw3/cf/home/news/news_new_article.cfm
User-Agent: Mozilla/4.61 [en] (X11; I; Linux 2.2.13-7mdk i686)
Content-Length: 1029
Content-Type: multipart/form-data;
boundary=---------------------------18415263113702593131742757625


Which is great except for some reason it's causing images to load incredibly
slow. After the image is finally sent, the child that was handling that image
dies with a sig alarm.

---
Jason Bodnar + [EMAIL PROTECTED] + Tivoli Systems

I swear I'd forget my own head if it wasn't up my ass. -- Jason Bodnar

Reply via email to