diff options
| author | 2009-08-16 16:17:44 +0200 | |
|---|---|---|
| committer | 2009-08-16 16:17:44 +0200 | |
| commit | f97da6c050df57e640c080a46d8792bf87a7b651 (patch) | |
| tree | cea48c70da7154b6eaef99b289e88283009fca44 /usbmuxd | |
| parent | 16d92681707a2408e011f6f9529b39a71a081221 (diff) | |
| download | usbmuxd-f97da6c050df57e640c080a46d8792bf87a7b651.tar.gz usbmuxd-f97da6c050df57e640c080a46d8792bf87a7b651.tar.bz2 | |
Reduce ack timeout to improve receive performance
Diffstat (limited to 'usbmuxd')
| -rw-r--r-- | usbmuxd/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usbmuxd/device.c b/usbmuxd/device.c index c6ef75b..9296ea2 100644 --- a/usbmuxd/device.c +++ b/usbmuxd/device.c | |||
| @@ -43,7 +43,7 @@ int next_device_id; | |||
| 43 | #define CONN_INBUF_SIZE 262144 | 43 | #define CONN_INBUF_SIZE 262144 |
| 44 | #define CONN_OUTBUF_SIZE 65536 | 44 | #define CONN_OUTBUF_SIZE 65536 |
| 45 | 45 | ||
| 46 | #define ACK_TIMEOUT 60 | 46 | #define ACK_TIMEOUT 30 |
| 47 | 47 | ||
| 48 | enum mux_protocol { | 48 | enum mux_protocol { |
| 49 | MUX_PROTO_VERSION = 0, | 49 | MUX_PROTO_VERSION = 0, |
