Broken Pipe when using command lpinfo, lpadmin, etc
tran ha thuy
tranhathuy at gmail.com
Mon Sep 6 18:18:44 PDT 2010
Hi all,
I'm now facing a problem with CUPS 1.4.3. After running configure and make, make install, starting cups service seems to be no problem, but anytime i try to use the commands like [lpinfo -v], [lpinfo -m], [lpadmin], i always get broken pipe error. Reading through the code, i found that this error is caused by recv() returning 0 when httpGets is getting HTTP message from the server. Before this error occurs, the server return the following message when i call lpadmin to add new printer
POST /admin/ HTTP/1.1
Content-Length: 4400194212128
Content-Type: application/ipp
Host: localhost
User-Agent: CUPS/1.4.3
Expect: 100-continue
Does anyone know what is missing here?
More information about the cups-devel
mailing list