zdohnal
zdohnal
Hi @vliaskov , actually we have a RHEL customer experiencing issues with CUPS due the same reason - poll() gets POLLOUT|POLLHUP from kernel (in their case CUPS API function fails...
@vliaskov actually the revents are the same, but it happens in a different place for you - can you compile CUPS with debug-printfs, set cupsd to use debug printfs (by...
From the logs you showed it looks poll() returns nfds, so we shouldn't iterate in http_write with poll() callings... other polls can happen in send() and seeing debug_printfs can help.
@vliaskov hmm... can you patch the debug_printfs in http_write() to be used in info level? I'm primary interested in those messages, so I would like to see their output -...
DEBUG_printf(), because that's the one which is available for whole library. I found debug_printf() only in snmp backend. Ad gnutls - it would be great to see result and errno...
IMO you can try filter it by 'http_write' - it should give us the more narrowed data.
@vliaskov see the last paragraph in https://github.com/OpenPrinting/cups/issues/827#issuecomment-1831301927 - your last comment is basically the same I described and did in our case. Has this helped your customer?
You forgot the patch I had mentioned is for a different issue with similar symptoms (as I mentioned previously, so that's why I asked for more data and didn't share...
Hi @vliaskov , do you have data from customer? I see you were able to get POLLOUT|POLLHUP from poll(), but are you certain it is the action which happens for...
Hi, thank you for reporting the issue! To be honest I would not combine CUPS API and IPP API when writing a new application unless it is necessary - printer-state...