This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: vsftpd corruption problem (Re: proftpd (and vsftpd too))


> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Jason Tishler

--8<--
> By constructing a specially formating file, I was able to determine that
> after about 150 MB is transferred, a chunk of the file is erroneously
> resent.
--8<--
> again.  But, the file is otherwise not corrupt.  BTW, I have noticed a
> 200 MB file will be exactly 64 KB larger and a 300 MB file will be
> exactly 128 KB larger.
> 
> Any ideas on how to debug this further will be greatly appreciate.

$ echo $(( $(( 150 * 1024 )) / 64 ))
2400

Wild guesses:
 Does "2400" appear as a constant anywhere near transfer buffer counts
or some such?
 C/C++ "%" operator in use near buffers?

/Hannu E K Nevalainen, Mariefred, Sweden
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]