Hi,

On 09/02/2012 03:47 AM, Pete Batard wrote:
>> On 2012.08.31 20:40, Hans de Goede wrote:
>>> This assumes that the winusb flag causes the ep to halt when the short
>>> read is encountered
>
> Couldn't see much in NetMon, but it looks like even after WinUSB returns
> a short read error, and if I let xusb sleep for a while, I can still
> query more data. Thus I don't see much stalling of the ep.
>
> The msdn doc, which simply states that "Disabling ALLOW_PARTIAL_READS
> causes the read requests to fail whenever the device returns more data",
> would also seem to indicate that all !ALLOW_PARTIAL_READS does is get
> WinUSB to return a non fatal errorcode.

Then as said that is a pretty useless feature, since apps can already
find out as much by comparing the amount actually read versus the amount
they requested...

Regards,

Hans


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to