ssld: Remove left over function
This commit is contained in:
parent
3f7039934f
commit
909346edb7
1 changed files with 0 additions and 25 deletions
25
ssld/ssld.c
25
ssld/ssld.c
|
@ -824,31 +824,6 @@ process_stats(mod_ctl_t * ctl, mod_ctl_buf_t * ctlb)
|
|||
mod_cmd_write_queue(ctl, outstat, strlen(outstat) + 1); /* +1 is so we send the \0 as well */
|
||||
}
|
||||
|
||||
static void
|
||||
change_connid(mod_ctl_t *ctl, mod_ctl_buf_t *ctlb)
|
||||
{
|
||||
uint32_t id = buf_to_uint32(&ctlb->buf[1]);
|
||||
uint32_t newid = buf_to_uint32(&ctlb->buf[5]);
|
||||
conn_t *conn = conn_find_by_id(id);
|
||||
lrb_assert(conn != NULL);
|
||||
if(conn == NULL)
|
||||
{
|
||||
uint8_t buf[256];
|
||||
int len;
|
||||
|
||||
buf[0] = 'D';
|
||||
uint32_to_buf(&buf[1], newid);
|
||||
sprintf((char *) &buf[5], "connid %d does not exist", id);
|
||||
len = (strlen((char *) &buf[5]) + 1) + 5;
|
||||
mod_cmd_write_queue(ctl, buf, len);
|
||||
|
||||
return;
|
||||
}
|
||||
rb_dlinkDelete(&conn->node, connid_hash(conn->id));
|
||||
SetZipSSL(conn);
|
||||
conn->id = newid;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
static void
|
||||
zlib_process(mod_ctl_t * ctl, mod_ctl_buf_t * ctlb)
|
||||
|
|
Loading…
Reference in a new issue