146
146
client->io = io_add(fd, IO_READ, client_input, client);
147
147
client->input = i_stream_create_fd(fd, MAX_INBUF_SIZE, FALSE);
148
148
client->output = o_stream_create_fd(fd, (size_t)-1, FALSE);
149
150
o_stream_set_flush_callback(client->output, client_output, client);
150
151
client->cmd_pool = pool_alloconly_create("cmd pool", 1024);