aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib516.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-11-06 16:53:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-11-06 23:02:27 +0100
commite3166df1bb3e027e20455c7b99b42779e607ccfb (patch)
treee9f5ae191e6888f8c038aa6bf79945a7a1c47713 /tests/libtest/lib516.c
parent06a83e805070b01e8c8ebffb1f6b56e113b1810a (diff)
ftp PORT: don't hang if bind() fails
When the user requests PORT with a specific port or port range, the code could lock up in an endless loop. There's now an extra conditional that makes sure to special treat the error and try the local address only once so a second failure will abort the loop correctly. Bug: http://curl.haxx.se/bug/view.cgi?id=3433968 Reported by: Gokhan Sengun
Diffstat (limited to 'tests/libtest/lib516.c')
0 files changed, 0 insertions, 0 deletions