/[pxelator]/lib/PXElator/tftpd.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/tftpd.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 482 by dpavlin, Sat Jan 23 18:31:14 2010 UTC revision 545 by dpavlin, Sat Oct 9 13:50:38 2010 UTC
# Line 45  sub tftp_request { Line 45  sub tftp_request {
45    
46          warn 'request: ', dump( $request ) if $debug;          warn 'request: ', dump( $request ) if $debug;
47    
48            if ( my $pid = fork ) {
49                    # parent
50                    warn "# forked $pid\n";
51                    return;
52            }
53    
54    
55          my $ip = $request->{_REQUEST_}->{PeerAddr};          my $ip = $request->{_REQUEST_}->{PeerAddr};
56          config::for_ip( $ip );          config::for_ip( $ip );
57    
# Line 101  sub start { Line 108  sub start {
108          my $listener = bless {          my $listener = bless {
109                  RootDir => $dir,                  RootDir => $dir,
110    
111                  ACKtimeout  => 4,                  ACKtimeout  => 1, # 4
112                  ACKretries  => 4,                  ACKretries  => 2, # 4
113                  Readable    => 1,                  Readable    => 1,
114                  Writable    => 0,                  Writable    => 0,
115                  Timeout => 3600,                  Timeout => 3600,

Legend:
Removed from v.482  
changed lines
  Added in v.545

  ViewVC Help
Powered by ViewVC 1.1.26