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(@_);});
>
> 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 v
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-
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 o
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});
?