mirror of
https://github.com/mirror/wget.git
synced 2026-08-19 09:23:27 +08:00
[svn] Add synchronization between client and server processes and testing of recursive spider mode.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user