Shortened some FTP responses to allow the timeout to be reduced by a second
while still causing a timeout during the data phase.
This commit is contained in:
parent
b686dc4911
commit
d1f063c62d
@ -11,8 +11,14 @@ FAILURE
|
|||||||
|
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
|
# Overload some standard FTP responses to make them shorter and faster
|
||||||
|
# to avoid wasting time waiting for the data phase to start
|
||||||
<servercmd>
|
<servercmd>
|
||||||
SLOWDOWN
|
SLOWDOWN
|
||||||
|
REPLY USER 331 OK
|
||||||
|
REPLY PASS 230 OK
|
||||||
|
REPLY PWD 257 "/"
|
||||||
|
REPLY TYPE 200 OK
|
||||||
</servercmd>
|
</servercmd>
|
||||||
<data nocheck="yes">
|
<data nocheck="yes">
|
||||||
Long chunk of data that couldn't possibly be sent in the time allotted.
|
Long chunk of data that couldn't possibly be sent in the time allotted.
|
||||||
@ -54,7 +60,7 @@ ftp
|
|||||||
FTP download with strict timeout and slow data transfer
|
FTP download with strict timeout and slow data transfer
|
||||||
</name>
|
</name>
|
||||||
<command timeout="1">
|
<command timeout="1">
|
||||||
ftp://%HOSTIP:%FTPPORT/1086 -m 7
|
ftp://%HOSTIP:%FTPPORT/1086 -m 6
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user