-
- Downloads
FTP: prevent the multi interface from blocking
As pointed out in Bug report #3579064, curl_multi_perform() would wrongly use a blocking mechanism internally for some commands which could lead to for example a very long block if the LIST response never showed. The solution was to make sure to properly continue to use the multi interface non-blocking state machine. The new test 1501 verifies the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3579064 Reported by: Guido Berhoerster
Showing
- lib/ftp.c 41 additions, 15 deletionslib/ftp.c
- lib/pingpong.c 4 additions, 1 deletionlib/pingpong.c
- tests/data/Makefile.am 1 addition, 1 deletiontests/data/Makefile.am
- tests/data/test1501 53 additions, 0 deletionstests/data/test1501
- tests/data/test591 2 additions, 1 deletiontests/data/test591
- tests/data/test592 3 additions, 2 deletionstests/data/test592
- tests/libtest/.gitignore 1 addition, 1 deletiontests/libtest/.gitignore
- tests/libtest/Makefile.inc 3 additions, 1 deletiontests/libtest/Makefile.inc
- tests/libtest/lib1501.c 126 additions, 0 deletionstests/libtest/lib1501.c
Loading
Please register or sign in to comment