Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ipp backend stops watching remote job too early #2352
The ipp backend monitors the progress of the remote job until:
job_state->values.integer > IPP_JOB_PROCESSING ||
Unfortunately that means that applications trying to show the user what jobs they have (e.g. lpstat -o) don't show
..and they have no way to discover what happened to their job without knowing the network topology.
I think the condition should be changed to:
job_state->values.integer > IPP_JOB_STOPPED
What do you think?
CUPS.org User: mike
It can't stop or restart on its own - the scheduler would need to do that, and that would require substantial changes to the code (without, IMHO, much benefit).
Stopping only after the job is completed (anything other than "stopped") sounds reasonable, however, so I will go ahead and make that change...
--- ipp.c (revision 6481)