[cups.bugs] [LOW] STR #2601: IPPGET missing required "notify-wait" value
Michael Sweet
msweet at apple.com
Thu Nov 15 22:12:12 PST 2007
[STR Closed w/o Resolution]
CUPS doesn't support event wait mode because a conforming implementation
can't just close the connection after a period of inactivity which is a
necessary bit to avoid easy denial-of-service attacks.
>From section 5.2 of RFC 3996:
However, the Printer MAY decide to terminate Event Wait Mode at
any time, including in the first response. In this case, the
Printer MUST return the "notify-get-interval" operation
attribute. This attribute indicates that the Printer wishes to
leave Event Wait Mode and the number of seconds in the future
that the Notification Recipient SHOULD try the Get-Notifications
operation again. The Notification Recipient MUST accept this
response and MUST disconnect. If the Notification Recipient does
not disconnect, the Printer SHOULD do so.
On Linux and Mac OS X, we recommend using a combination of
DBUS/notify_post events and IPPGET subscriptions - poll when you get the
message saying that something happened.
Link: http://www.cups.org/str.php?L2601
Version: 1.3-current
Fix Version: Will Not Fix
More information about the cups
mailing list