lib: fixed timeout mismatch behaviour between USB and Router
commit694dedb1dd89e7b44329c837312b72513a8c7a59
authorChris Frey <cdfrey@foursquare.net>
Thu, 14 Oct 2010 21:21:27 +0000 (14 17:21 -0400)
committerChris Frey <cdfrey@foursquare.net>
Thu, 14 Oct 2010 21:21:27 +0000 (14 17:21 -0400)
tree11c5e7ed9248794cbd8163ab903c54c814c3b975
parenteb216d7ffd01bf15aedb97f6b46e977d07bd8c69
lib: fixed timeout mismatch behaviour between USB and Router

The default timeout (-1) for usbwrap is about 30 seconds,
while the default timeout (-1) for the DataQueues used
by the Router is forever.  The router now accepts a default
read timeout of its own, and defaults to the same 30
seconds as usbwrap.
ChangeLog
src/router.cc
src/router.h