]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ipc/FdNotes.cc
4 * DEBUG: section 54 Interprocess Communication
10 #include "ipc/FdNotes.h"
14 Ipc::FdNote(int fdNoteId
)
16 static const char *FdNotes
[Ipc::fdnEnd
] = {
18 "HTTP Socket", // fdnHttpSocket
19 "HTTPS Socket", // fdnHttpsSocket
21 "Incoming SNMP Socket", // fdnInSnmpSocket
22 "Outgoing SNMP Socket", // fdnOutSnmpSocket
24 "Incoming ICP Socket", // fdnInIcpSocket
25 "Incoming HTCP Socket" // fdnInHtcpSocket
28 if (fdnNone
< fdNoteId
&& fdNoteId
< fdnEnd
)
29 return FdNotes
[fdNoteId
];
31 debugs(54, 1, HERE
<< "salvaged bug: wrong fd_note ID: " << fdNoteId
);
32 return FdNotes
[fdnNone
];