[PATCH 4/5] urlmon: Report total data read in this bind operation to OnDataAvailable, not the size of the available buffer.

Misha Koshelev mk144210 at bcm.edu
Thu Aug 2 00:12:08 CDT 2007


As done on native.

This patch turned out not to be necessary for anything I was testing, but is the native behavior. It is 
non-trivial to write a test for this (well without an emulated http test at least in url.c which is a fairly
significant undertaking), as there is nowhere in the tests we could access both the ProtocolSink and 
BindStatusCallback interfaces to compare that the progress value is actually being sent (not that one
could not be written, but not a trivial test certainly, and something like checking that the value increases
each time would work but couldn't be todo_wine'd as sometimes by chance the size of the available buffer
increases too).
---
 dlls/urlmon/binding.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e61689584bde84ce8ac16d190c5753497dc32630.diff
Type: text/x-patch
Size: 529 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070802/bf0e4d20/e61689584bde84ce8ac16d190c5753497dc32630.bin


More information about the wine-patches mailing list