Re: [PATCH] ftpfs.c linear_abort workaround for dumb servers



Hello!

> I recently encountered some ftp servers, which keep sending data even
> after reporting ABOR cmd complete. This patch adds a timeout after which
> a reconnect is performed instead of further fetching of the remaining
> data.

How big is the timeout?  Is it one second?  I think it's too short.  
Let's give the server at least 5 seconds to abort.

Could you please make a #define for the timeout and add a short comment?

-- 
Regards,
Pavel Roskin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]