[cups.bugs] [HIGH] STR #1528: libcups and CUPS 1.1.x servers

twaugh.redhat twaugh at redhat.com
Fri Mar 31 05:19:20 PST 2006


[STR New]

It seems that libcups from cups-1.2rc1 is having problems communicating
with CUPS-1.1.23 servers.  Example, on a machine running CUPS-1.1.23 but
with an application using CUPS-1.2rc1's libcups via LD_LIBRARY_PATH:

[pid 13917] connect(17, {sa_family=AF_INET, sin_port=htons(631),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
[pid 13917] send(17, "POST / HTTP/1.1\r\n", 17, 0) = 17
[pid 13917] send(17, "Content-Length: 75\r\n", 20, 0) = 20
[pid 13917] send(17, "Content-Type: application/ipp\r\n", 31, 0) = 31
[pid 13917] send(17, "Host: localhost\r\n", 17, 0) = 17
[pid 13917] send(17, "User-Agent: CUPS/1.2rc1\r\n", 25, 0) = 25
[pid 13917] send(17, "Expect: 100-continue\r\n", 22, 0) = 22
[pid 13917] send(17, "\r\n", 2, 0)      = 2
[pid 13917] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 13917] select(18, [17], NULL, NULL, {1, 0}) = 1 (in [17], left {0,
0})
[pid 13917] recv(17, "HTTP/1.1 400 Bad Request\r\nDate: Fri, 31 Mar 2006
13:13:36 GMT\r\nServer: CUPS/1.1\r\nContent-Language: en_US\r\nUpgrade:
TLS/1.0,HTTP/1.1\r\nConnection: close\r\nContent-Type:
text/html\r\nContent-Length: 156\r\n\r\n<HTML><HEAD><TITLE>400 Bad
Request</TITLE></HEAD><BODY><H1>Bad Request</H1>Your
browser sent a request that this server could not
understand.</BODY></HTML>\n",
2048, 0) = 356

Link: http://www.cups.org/str.php?L1528
Version: 1.2b2





More information about the cups mailing list