diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-11-06 16:53:07 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-11-06 23:02:27 +0100 |
commit | e3166df1bb3e027e20455c7b99b42779e607ccfb (patch) | |
tree | e9f5ae191e6888f8c038aa6bf79945a7a1c47713 /winbuild/MakefileBuild.vc | |
parent | 06a83e805070b01e8c8ebffb1f6b56e113b1810a (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 'winbuild/MakefileBuild.vc')
0 files changed, 0 insertions, 0 deletions