Chromium Code Reviews
DescriptionOn certain platforms (ok really just on Mac), the serial connection can contain
old data from a previous serial connection. This means that the first bytes
read will be garbage from a prior connection. Previously, could have lead to an
irrevocable error and the message reads would just fail over and over because
the pending read buffer contains such an error. This CL fixes this problem by
clearingo out the pending read buffer when it contains an irrevocable error.
BUG=634188
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|
|||||||||||||||||||