core: Record when a transfer timeout has been handled
authorChris Dickens <christopher.a.dickens@gmail.com>
Sat, 22 Aug 2015 07:41:58 +0000 (00:41 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Thu, 3 Sep 2015 02:47:15 +0000 (19:47 -0700)
commit2e1781e7c57384166e04d7728c42e45665d07b09
tree8b287f752a464c2a2b61e9a37e818959c5b3323c
parent8c24a1b9302a0b1b921b4ffaefd7bd7c8d0f21e8
core: Record when a transfer timeout has been handled

Commit efd02e73 introduced a bug where transfers that timed out
would be handled repeatedly if the cancellation was not successful.
This behavior blocks any event handling from occurring.

This commit adds a new transfer flag to record whether a timeout has
been handled.

Thanks to Jeffrey Nichols for reporting this.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/io.c
libusb/libusbi.h
libusb/version_nano.h