Fabio Marzocca <[EMAIL PROTECTED]> writes: > On 21 Oct 2005 05:26:48 -0700, Gisle Aas <[EMAIL PROTECTED]> wrote: > > It doesn't. > > But looking better at the flow, I am convinced it is not a matter on IPv6. > > Summarizing, this is the stream: > > 1) get the page, sending userid and pwd > 2) user agent is diverted to an authentication page > 3) user agent is diverted back to the site. > > With Firefox, points 1 and 3 are on the same TCP stream. With LWP they > are 3 separated TCP streams..
You can get LWP to use a single TCP connection by turing on the keep_alive feature. Done something like this: my $ua = LWP::UserAgent->new(keep_alive => 2); Regards, Gisle
