Re: [cups-devel] [MOD] STR #4754: In auto-shutdown mode ("-l") scheduler keeps running on subscriptions for push notifications

Michael Sweet <[email protected]>
Newsgroups gmane.comp.printing.cups.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Resolved]

Yes, the issue was that select_timeout() (in main.c) was lowering the
timeout when subscriptions were present, preventing idle exit.  I removed
that code and added code in ipp.c to auto-expire subscriptions as needed
(before similar code is used in the main loop - an IPP Get-Subscriptions or
Get-Subscription-Attributes request could come in before the main loop
expiration code was executed...)

Link: https://www.cups.org/str.php?L4754
Version: 2.1-current
Fix Version: 2.2-current (r13039)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWlBO+AAoJENujp6sI12IjyOkQAKH2fzlR0fNLc9Kz4Hb7IFId
iQ0uCHGqQZsqCDnpGQ+lxnjA0ZBpZ8l4+sqBG1vKKTMjh+xP+06+QUZETtoT2ytD
RWEtk3fvfpxoakUxpULPYbSKSX9vXIRkPugxGaBJEc4ysGC/hv7yuAmFp2IJtprv
r7fQe7clCqtMAF9151AGc+P6ewwKFQz+kmUbYZ8I6T8wRGdYuWjNLroWCeVEpFMW
UK+HMv1lEbO+kVQcAfbpmSnC2ZfbqQ7Ydsrrcf1VBO6vFh6JXxr+dCfRML9J09PP
2JjK1Xl+P9v4pDATrPrk5rw4yFqQ0kwUYHBdJtMG+51sY1rbtgXKlweWID5s6nVs
73J26WBpmfqqnX/81jJi6iJ7uPTzOb4a3kdtubm4NpgtNZfXl+Q7mbe4UKKAIbpR
L/6q/IqqIUeeUTQNmwMFZgNZ/8w8BNufOQIBYLOsG4FsUTG78V8hVKwjn5ZZVZkm
9RaHtoWVQ7mPOcq4VMtgbwH3BSnCQS5d04wStadlORniEFb2GnyE9mlqvjJ1HTHF
/3oOfNXUqw3Ja41CFFzooJwi0P4s0SD3H9mEVK01uMDhiRu4VqEQHODEPsG0S91x
Qa4QnQVWVTjXfFt83e+jhvXssMxlzrSaQ8Lfn525hvR/1pEfgovRTtoSod2P+PKH
4bGayLVdFJ35h+yjgJPY
=r//I
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.