git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12466
a1ca3aef-8c08-0410-bb20-
df032aa958be
error (STR #4559)
- The ippfind and ipptool programs now correctly match hostnames with
trailing dots (STR #4563)
+ - The ipptool timeout option did not work (STR #4515)
CHANGES IN CUPS V2.0.1
break;
}
}
+ else if (http->used == 0 && http->timeout_value > 0)
+ {
+ /*
+ * Wait up to timeout seconds for more data on blocking sockets...
+ */
+
+ if (!httpWait(http, (int)(1000 * http->timeout_value)))
+ {
+ /*
+ * Signal no data...
+ */
+
+ bytes = -1;
+ break;
+ }
+ }
if ((bytes = httpRead2(http, (char *)buffer, length - (size_t)tbytes)) < 0)
{