]> granicus.if.org Git - curl/commit
FTP: do_more: add check for wait_data_conn in upload case
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Sep 2015 07:29:03 +0000 (09:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Sep 2015 07:29:03 +0000 (09:29 +0200)
commit27620171ffe1a47735de706aa0b0a66d45f867ed
treece06640c0897b6009b0fee2909d3961bbfaa7c55
parent664398e43bde95c7a3bd657006a5661b41884229
FTP: do_more: add check for wait_data_conn in upload case

In some timing-dependnt cases when a 4xx response immediately followed
after a 150 when a STOR was issued, this function would wrongly return
'complete == true' while 'wait_data_conn' was still set.

Closes #405

Reported-by: Patricia Muscalu
lib/ftp.c