Closed Vogtinator closed 8 months ago
It is visible that 8.6.0 does not detect the end of the data transfer properly.
If you can, please try the current git master as well as I believe it might be fixed already.
Already did, git master is also affected.
My bisect finished, the cause is ... *drumroll*... 9a90c9dd64d2f03601833a70786d485851bd1b53 (vtls: receive max buffer)
Hm, fun. That commit got reverted and after the revert it does work, but apparently not always? My git bisect log shows current master (cf5f604229bb9fab4421ec0e498aaf2767feb335) as bad. Maybe that was just the "slight but noticable delay" and not a full failure.
The "not always" would be the interesting part.
Maybe that was just the "slight but noticable delay" and not a full failure.
I guess so, after ed09a99af57200643d5ae001e815eeab9ffe3f84 it does work reliably, tried a few 100 times.. Not sure why it didn't work for me initially.
Sorry for the inconvenience and thanks for the fast reply!
The "not always" would be the interesting part.
Yes. It did definitely fail for me at least once, but does work reliably now. As long as it doesn't fail again for me I'm happy to ignore that. I'll reopen if it occurs again.
The "slight but noticable delay" appears to be caused by the SSL handshake, I'll continue investigating that on my side but it's unrelated to this issue.
I did this
curl -l --ssl-reqd ftp://10.168.4.192
On that IP I've got vsftpd 3.0.5 running with SSL and anonymous read access enabled.
I expected the following
Dirlist gets returned and curl exits successfully.
What happens instead is that after a slight but noticable delay, the dirlist is shown but curl doesn't return immediately but instead times out.
This worked in version 8.5.0 just fine. Comparison with
-vvv
:8.5.0:
8.6.0:
It is visible that 8.6.0 does not detect the end of the data transfer properly.
I've started a bisect to narrow down which change triggered it.
curl/libcurl version
8.6.0 and git master (curl-8_6_0-46-gcf5f60422)
operating system
openSUSE Tumbleweed