]>
Commit | Line | Data |
---|---|---|
07576e3b | 1 | Index: src/htcp.c |
2 | =================================================================== | |
3 | RCS file: /server/cvs-server/squid/squid/src/htcp.c,v | |
4 | retrieving revision 1.32.2.2 | |
5 | retrieving revision 1.32.2.4 | |
6 | diff -c -r1.32.2.2 -r1.32.2.4 | |
7 | *** src/htcp.c 2001/01/12 00:51:48 1.32.2.2 | |
8 | --- src/htcp.c 2001/04/01 16:52:45 1.32.2.4 | |
9 | *************** | |
10 | *** 747,754 **** | |
11 | hdr.msg_id = ntohl(hdr.msg_id); | |
12 | debug(31, 3) ("htcpHandleData: sz = %d\n", sz); | |
13 | debug(31, 3) ("htcpHandleData: length = %d\n", (int) hdr.length); | |
14 | ! if (hdr.opcode > HTCP_END) { | |
15 | ! debug(31, 0) ("htcpHandleData: opcode %d out of range\n", | |
16 | (int) hdr.opcode); | |
17 | return; | |
18 | } | |
19 | --- 747,755 ---- | |
20 | hdr.msg_id = ntohl(hdr.msg_id); | |
21 | debug(31, 3) ("htcpHandleData: sz = %d\n", sz); | |
22 | debug(31, 3) ("htcpHandleData: length = %d\n", (int) hdr.length); | |
23 | ! if (hdr.opcode >= HTCP_END) { | |
24 | ! debug(31, 0) ("htcpHandleData: client %s, opcode %d out of range\n", | |
25 | ! inet_ntoa(from->sin_addr), | |
26 | (int) hdr.opcode); | |
27 | return; | |
28 | } | |
29 | *************** | |
30 | *** 783,788 **** | |
31 | --- 784,793 ---- | |
32 | break; | |
33 | case HTCP_SET: | |
34 | htcpHandleSet(&hdr, buf, sz, from); | |
35 | + break; | |
36 | + case HTCP_CLR: | |
37 | + debug(31, 1) ("htcpHandleData: client %s, CLR not supported\n", | |
38 | + inet_ntoa(from->sin_addr)); | |
39 | break; | |
40 | default: | |
41 | assert(0); |