search for: mail_data_output

Displaying 1 result from an estimated 1 matches for "mail_data_output".

2011 Jun 09
1
Converting CLIENT_MAIL_DATA_MAX_INMEMORY_SIZE to a configurable?
...rted into a configurable setting and the task is done? static int client_input_add(struct client *client, const unsigned char *data, size_t size) { if (client->state.mail_data->used + size <= CLIENT_MAIL_DATA_MAX_INMEMORY_SIZE && client->state.mail_data_output == NULL) { buffer_append(client->state.mail_data, data, size); return 0; } else { return client_input_add_file(client, data, size); } } It could be defaulted to 128k, but the user could set it "unlimited" (0 or -1,...