summaryrefslogtreecommitdiffstats
path: root/stuff
diff options
context:
space:
mode:
authorGravatar Hector Martin2010-05-11 00:34:33 +0200
committerGravatar Hector Martin2010-05-11 00:34:33 +0200
commit4c3d762fd6da36cfe877506b74820850eef9f706 (patch)
treea7cac31c05522ce44dc3b83fada8394f64762b39 /stuff
parentd54bf6f008e90686b2bc1b38b8d93f0ff4a770e7 (diff)
downloadusbmuxd-4c3d762fd6da36cfe877506b74820850eef9f706.tar.gz
usbmuxd-4c3d762fd6da36cfe877506b74820850eef9f706.tar.bz2
Fix aborts due to transmit window overflow
c0b02222 made conn->sendable unsigned. If the device reduces the window after we've sent too much data already, it can become negative, overflow, and cause connection aborts when we send too much data. Fix this by checking for this condition and setting conn->sendable to 0. Thanks to Thomas Jost and Nikias Bassen for debugging this issue.
Diffstat (limited to 'stuff')
0 files changed, 0 insertions, 0 deletions