On Tue, 16 Oct 2001, Stas Bekman wrote:
> if I understand correctly the current code uses a single instance of the
> LWP's UA object. For one of the registry tests I need .t to drive .pm
> response handler, which in turn touch'es the files and need to be able
> to generate its own "sub-requests", so is it better to try to use a
> subrequest or change the code to handle multiply UA's? Currently the
> whole thing hangs, if I do .t -> .pm -> /request, because the first
> request wasn't finished, so the second one cannot proceed and there is a
> sort of deadlock.
you'd have to bump up the Apache::TestConfig->{vars}->{maxclients}
which you can do in your t/TEST (see the Apache-Test example that
overrides new_test_config). and if you need multiple useragent objects:
my $ua2 = Apache::TestRequest::user_agent()->clone;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]