[svn] Add synchronization between client and server processes and testing of recursive spider mode.

This commit is contained in:
mtortonesi
2006-05-29 02:15:06 -07:00
parent a309257cbd
commit f2613b6ddb
12 changed files with 141 additions and 17 deletions

View File

@@ -35,11 +35,12 @@ sub _setup_server {}
sub _launch_server {
my $self = shift;
my $synch_func = shift;
my $server = HTTPServer->new (LocalAddr => 'localhost',
LocalPort => '8080',
ReuseAddr => 1) or die "Cannot create server!!!";
$server->run ($self->{_input});
$server->run ($self->{_input}, $synch_func);
}
1;