summaryrefslogtreecommitdiffstats
path: root/src/device.c
AgeCommit message (Collapse)AuthorFilesLines
2014-03-24device: fix potential integer overflow in mstime64() on 32 bit systemsGravatar Mikkel Kamstrup Erlandsen1-1/+4
2014-03-24device: more aggresively send ACKs when receiving TCP dataGravatar Mikkel Kamstrup Erlandsen1-49/+66
Before this it seemed that we only ever sent ACK when timing out... Looks like a perf double when reading.
2014-03-24client: add a bunch of comments and function docsGravatar Mikkel Kamstrup Erlandsen1-1/+55
2014-03-13device: suppress 'error reading from client (0)' which is not actually an errorGravatar Nikias Bassen1-1/+3
2014-01-09device: reduce locking time inside device_get_list() and device_get_count()Gravatar Nikias Bassen1-5/+14
2014-01-09removed trailing \n from usbmuxd_log() messagesGravatar Nikias Bassen1-2/+2
2014-01-09device: suppress "No connection for device" if TH_RST is setGravatar Nikias Bassen1-1/+1
2014-01-09device/client: make device_get_list() allocate the result buffer itselfGravatar Nikias Bassen1-1/+6
Using device_get_count() and device_get_list() separately can return different device counts in case there are devices added to the list inbetween these two function calls. To prevent this, device_get_list() will allocate the buffer by itself.
2014-01-09device: make device_list access thread safeGravatar Nikias Bassen1-0/+38
2013-12-27preflight: replace idevice_event_* with thread safe implementationGravatar Nikias Bassen1-1/+16
idevice_event_subscribe() calls usbmuxd_subscribe() which will start a thread waiting for device add/remove events. But this implementation is not able to handle more than one "subscription". However the preflight worker will start a thread for _each_ device resulting in a really messed up situation if more than one device is attached at the same time. This fix will use usbmuxd's internal device_remove function calling a preflight callback to make this implementation thread safe.
2013-09-30device: suppress two compiler warnings with appropriate castsGravatar Nikias Bassen1-3/+3
2013-09-19make sure usbmuxd -x does not terminate when unpaired devices are still presentGravatar Nikias Bassen1-4/+4
2013-09-19added preflight worker implementation to handle initial device pairingGravatar Nikias Bassen1-3/+16
2013-09-17silence several compiler warningsGravatar Nikias Bassen1-1/+1
2013-09-17remove libusbmuxd sources and adapt source tree to use autotoolsGravatar Nikias Bassen1-0/+781
libusbmuxd has been split off and is now managed in a separate repository. By the time of this commit, the repository is: git clone http://git.sukimashita.com/libusbmuxd.git