If only a partial file was transfered, we consider that a fatal problem so

we won't try to QUIT the control connection and risk "hanging" waiting for
a response. Test case 161 verifies this. The quit-sending function was
also made static.
This commit is contained in:
Daniel Stenberg
2004-04-22 13:09:00 +00:00
parent 33cb93ad0b
commit 1d3f76df71
4 changed files with 73 additions and 22 deletions

View File

@@ -258,6 +258,11 @@ while(<FILE>) {
}
}
}
# GETNAME url.c:1901 getnameinfo()
elsif($_ =~ /^GETNAME ([^ ]*):(\d*) (.*)/) {
# not much to do
}
# ADDR url.c:1282 getaddrinfo() = 0x5ddd
elsif($_ =~ /^ADDR ([^ ]*):(\d*) (.*)/) {
# generic match for the filename+linenumber