void ICAPXaction::scheduleWrite(MemBuf &buf)
{
// comm module will free the buffer
- writer = &ICAPXaction_noteCommWrote;
- comm_old_write_mbuf(connection, &buf, writer, this);
+ writer = (IOCB *)&ICAPXaction_noteCommWrote;
+ comm_write_mbuf(connection, &buf, writer, this);
fd_table[connection].noteUse(icapPconnPool);
commSetTimeout(connection, 61, &ICAPXaction_noteCommTimedout, this);
}
/*
- * $Id: ICAPXaction.h,v 1.7 2006/08/07 02:28:24 robertc Exp $
+ * $Id: ICAPXaction.h,v 1.8 2006/09/19 17:17:52 serassio Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
// active (pending) comm callbacks for the ICAP server connection
CNCB *connector;
IOCB *reader;
- CWCB *writer;
+ IOCB *writer;
PF *closer;
const char *typeName; // the type of the final class (child), for debugging