59 |
my $audit = { |
my $audit = { |
60 |
ip => $ip, |
ip => $ip, |
61 |
opcode => $opcode, |
opcode => $opcode, |
62 |
file => $file, |
path => $file, |
63 |
state => 'start', |
state => 'start', |
64 |
}; |
}; |
65 |
CouchDB::audit( $opcode, $audit ); |
CouchDB::audit( $opcode, $audit ); |
76 |
$audit->{state} = 'error'; |
$audit->{state} = 'error'; |
77 |
$audit->{error} = Net::TFTPd->error; |
$audit->{error} = Net::TFTPd->error; |
78 |
CouchDB::audit( $opcode, $audit ); |
CouchDB::audit( $opcode, $audit ); |
|
$request->processRQ(); |
|
79 |
} |
} |
80 |
|
|
81 |
} |
} |
109 |
|
|
110 |
CallBack => \&transfer_status, |
CallBack => \&transfer_status, |
111 |
# BlkSize => 8192, |
# BlkSize => 8192, |
112 |
# BlkSize => 512, |
BlkSize => 512, # Dell's RAC doesn't like bigger packets |
113 |
BlkSize => 1456, # IBM GE seems to be picky |
# BlkSize => 1456, # IBM GE seems to be picky |
114 |
Debug => 99, |
Debug => 99, |
115 |
%params, # merge user parameters |
%params, # merge user parameters |
116 |
_UDPSERVER_ => $udpserver, |
_UDPSERVER_ => $udpserver, |