Re: Proxy example in eagle book does not work

2000-02-03 Thread Jason Bodnar
I'm running a mod_perl proxy module similar to the one in the book. I'm curious why you say Keep-Alive is a problem? Is your concern performance because of timeout settings, or something else? I'm not exactly sure what the problem is, but when Keep-Alive is passed via LWP images are very

Re: Proxy example in eagle book does not work

2000-02-03 Thread Doug Kyle
Jason Bodnar wrote: On 19-Jan-00 Doug MacEachern wrote: On Fri, 14 Jan 2000, Jason Bodnar wrote: A line in the proxy example of the eagle book on page 380 does not seem to work (entirely): The line: $r-headers_in-do(sub {$request-header(@_);}); what if you change that

Re: Proxy example in eagle book does not work

2000-02-01 Thread Jason Bodnar
On 19-Jan-00 Doug MacEachern wrote: On Fri, 14 Jan 2000, Jason Bodnar wrote: A line in the proxy example of the eagle book on page 380 does not seem to work (entirely): The line: $r-headers_in-do(sub {$request-header(@_);}); what if you change that to: $r-headers_in-do(sub

RE: Proxy example in eagle book does not work

2000-01-19 Thread Doug MacEachern
On Wed, 19 Jan 2000, Jonas Nordström wrote: I had the same problem. What does the "1" mean? That the sub returns with a true value? yes, from ch9: =item do() This method provides a way to iterate through an entire table item by item. Pass it a reference to a code subroutine to be called

Re: Proxy example in eagle book does not work

2000-01-18 Thread Doug MacEachern
On Fri, 14 Jan 2000, Jason Bodnar wrote: A line in the proxy example of the eagle book on page 380 does not seem to work (entirely): The line: $r-headers_in-do(sub {$request-header(@_);}); what if you change that to: $r-headers_in-do(sub {$request-header(@_); 1}); ?