[Box Backup-dev] Current status

Charles Lecklider boxbackup-dev@fluffy.co.uk
Tue, 13 Dec 2005 21:40:16 +0000


Gary wrote:
> Ben, Chris,
> 
>>I think it is useful - it works for me. Gary's patches improve SSL 
>>handling when diffing large files on any platform, not just Win32.
> 
> That is correct, as far as I can tell Cygwin and RedHat clients have
> the same problem (as Win32) when it comes to diffing very large files
> (SSL timeouts). I am not sure whether others will concur, I seem to be
> the only one out there running with 4GB files.

No, I've also run into similar problems.

My plan for dealing with this under Win32 is to switch to a threaded
overlapped IO model. I know some people are going to get all upset about
the idea of threads, but like it or not, that's the way Windows works.

Add a dash of completion ports, and it's pretty simple to have diffing
and uploading and pretty much anything else, all at the same time, with
nothing but standard socket timeouts needed.

-C