On Wed, 2007-01-17 at 08:12 +1000, Jonathan Matthew wrote:

> The patch adds a gnome_vfs_get_file_info_from_handle() call after
> opening the source file to set the file size if the initial
> gnome_vfs_get_file_info() didn't provide a value.  For HTTP transfers,
> this will use the Content-Length header from the GET response, which is
> at least a bit more likely to provide the right value.

Its sort of hacky to have the workaround in the core xfer code, but it
looks ok. Commited.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [EMAIL PROTECTED]    [EMAIL PROTECTED] 
He's a suicidal alcoholic boxer whom everyone believes is mad. She's a 
man-hating snooty bodyguard who dreams of becoming Elvis. They fight crime! 

_______________________________________________
gnome-vfs-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Reply via email to