Incorrect total number of bytes reported
Submitted by Zeeshan Ali
Assigned to gvf..@..e.bugs
Link to original bug (#690226)
Description
Created attachment 231595 Test vala app to demonstrate the issue
The attached test app demonstrates an issue in gio/gvfs, where incorrect total_num_bytes are reported in GFileProgressCallback passed to g_file_copy():
current: 1689, total: 4982 current: 7996, total: 4982 current: 7996, total: 4982
I have verified that the HTTP server sends correct 'Content-Length' header through wget:
Content-Length: 7996
Attachment 231595, "Test vala app to demonstrate the issue":
test-copy-progress.vala
Version: git master