The following o_stream_nfinish() or o_stream_uncork() calls it anyway.
}
o_stream_nsend(ctx->client->output, "+ OK\r\n", 6);
- o_stream_nflush(ctx->client->output);
o_stream_uncork(ctx->client->output);
o_stream_cork(ctx->client->output);
return TRUE;
return 1;
case IMAP_ARG_LITERAL_SIZE:
o_stream_nsend(ctx->cmd->client->output, "+ OK\r\n", 6);
- o_stream_nflush(ctx->cmd->client->output);
o_stream_uncork(ctx->cmd->client->output);
o_stream_cork(ctx->cmd->client->output);
/* fall through */
client->disconnected = TRUE;
client->disconnect_reason = p_strdup(client->pool, reason);
- o_stream_nflush(client->output);
o_stream_uncork(client->output);
i_stream_close(client->input);
http_server_connection_timeout_stop(conn);
io_remove(&conn->io_resp_payload);
- if (conn->conn.output != NULL) {
- o_stream_nflush(conn->conn.output);
+ if (conn->conn.output != NULL)
o_stream_uncork(conn->conn.output);
- }
if (conn->http_parser != NULL)
http_request_parser_deinit(&conn->http_parser);
map->hdr.header_size - base_size);
o_stream_nsend(output, map->rec_map->records,
map->rec_map->records_count * map->hdr.record_size);
- o_stream_nflush(output);
if (o_stream_nfinish(output) < 0) {
mail_index_file_set_syscall_error(index, path, "write()");
ret = -1;