]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
6 years agolmtp: Replace i_info() with e_info().
Stephan Bosch [Wed, 13 Feb 2019 23:21:16 +0000 (00:21 +0100)] 
lmtp: Replace i_info() with e_info().

6 years agolmtp: Replace i_error() with e_error().
Stephan Bosch [Wed, 13 Feb 2019 23:17:20 +0000 (00:17 +0100)] 
lmtp: Replace i_error() with e_error().

6 years agolmtp: proxy: Use client.event for SMTP client connection.
Stephan Bosch [Thu, 27 Dec 2018 21:39:20 +0000 (22:39 +0100)] 
lmtp: proxy: Use client.event for SMTP client connection.

6 years agolmtp: local: Use rcpt.event as mail_*user's parent event.
Stephan Bosch [Thu, 27 Dec 2018 21:37:40 +0000 (22:37 +0100)] 
lmtp: local: Use rcpt.event as mail_*user's parent event.

6 years agolmtp: Add username to recipient event.
Stephan Bosch [Wed, 13 Feb 2019 23:36:41 +0000 (00:36 +0100)] 
lmtp: Add username to recipient event.

6 years agolmtp: Add client.event.
Stephan Bosch [Thu, 27 Dec 2018 21:32:01 +0000 (22:32 +0100)] 
lmtp: Add client.event.

6 years agolib-smtp: smtp-submit - Rename event setting to event_parent.
Stephan Bosch [Sat, 9 Mar 2019 22:33:24 +0000 (23:33 +0100)] 
lib-smtp: smtp-submit - Rename event setting to event_parent.

6 years agolib-smtp: smtp-server - Rename event setting to event_parent.
Stephan Bosch [Fri, 8 Mar 2019 21:21:22 +0000 (22:21 +0100)] 
lib-smtp: smtp-server - Rename event setting to event_parent.

6 years agolib-smtp: smtp-client - Rename event setting to event_parent.
Stephan Bosch [Fri, 8 Mar 2019 20:47:00 +0000 (21:47 +0100)] 
lib-smtp: smtp-client - Rename event setting to event_parent.

6 years agolib-http: http-client - Rename event setting to event_parent.
Stephan Bosch [Fri, 8 Mar 2019 21:20:58 +0000 (22:20 +0100)] 
lib-http: http-client - Rename event setting to event_parent.

6 years agoauth: Add missing log prefix to "userdb cache expired" debug line
Timo Sirainen [Mon, 11 Mar 2019 22:03:18 +0000 (00:03 +0200)] 
auth: Add missing log prefix to "userdb cache expired" debug line

6 years agoauth: Use request event for messages after lookup has ended
Aki Tuomi [Fri, 8 Mar 2019 13:39:51 +0000 (15:39 +0200)] 
auth: Use request event for messages after lookup has ended

Otherwise the prefix is going to be wrong, and we cannot use
the authdb_event here because the authdb event is wrong
at this point.

6 years agoauth: Ensure authdb_event returns event
Aki Tuomi [Fri, 8 Mar 2019 13:31:49 +0000 (15:31 +0200)] 
auth: Ensure authdb_event returns event

We don't want nasty crashes due to lack of event.

6 years agomaster: test-master-login-auth - Add request reconnect test.
Stephan Bosch [Thu, 7 Mar 2019 02:39:34 +0000 (03:39 +0100)] 
master: test-master-login-auth - Add request reconnect test.

6 years agomaster: test-master-login-auth - Add request disconnect test.
Stephan Bosch [Thu, 7 Mar 2019 01:44:55 +0000 (02:44 +0100)] 
master: test-master-login-auth - Add request disconnect test.

6 years agomaster: test-master-login-auth - Add support for retrying requests.
Stephan Bosch [Thu, 7 Mar 2019 01:37:30 +0000 (02:37 +0100)] 
master: test-master-login-auth - Add support for retrying requests.

6 years agomaster: test-master-login-auth - Run the auth request in a separate function.
Stephan Bosch [Thu, 7 Mar 2019 01:20:43 +0000 (02:20 +0100)] 
master: test-master-login-auth - Run the auth request in a separate function.

6 years agolib-master: master-login-auth - Make sure connection is disconnected upon error.
Stephan Bosch [Tue, 5 Mar 2019 01:56:52 +0000 (02:56 +0100)] 
lib-master: master-login-auth - Make sure connection is disconnected upon error.

6 years agomaster: test-auth-client - Add handshake reconnect test.
Stephan Bosch [Thu, 7 Mar 2019 00:04:52 +0000 (01:04 +0100)] 
master: test-auth-client - Add handshake reconnect test.

6 years agomaster: test-auth-client - Add handshake disconnect test.
Stephan Bosch [Wed, 6 Mar 2019 22:34:56 +0000 (23:34 +0100)] 
master: test-auth-client - Add handshake disconnect test.

6 years agomaster: test-auth-client - Add support for retrying handshakes.
Stephan Bosch [Wed, 6 Mar 2019 23:50:49 +0000 (00:50 +0100)] 
master: test-auth-client - Add support for retrying handshakes.

6 years agomaster: test-auth-client - Run the auth client in a separate function.
Stephan Bosch [Wed, 6 Mar 2019 23:56:44 +0000 (00:56 +0100)] 
master: test-auth-client - Run the auth client in a separate function.

6 years agomaster: test-auth-client - Fix duplicate server connection deinit.
Stephan Bosch [Thu, 7 Mar 2019 00:33:58 +0000 (01:33 +0100)] 
master: test-auth-client - Fix duplicate server connection deinit.

6 years agolib-auth: auth-client-connection - Make sure connection is disconnected upon error.
Stephan Bosch [Tue, 5 Mar 2019 01:35:45 +0000 (02:35 +0100)] 
lib-auth: auth-client-connection - Make sure connection is disconnected upon error.

6 years agomaster: test-auth-master - Add userdb lookup reconnect test.
Stephan Bosch [Wed, 6 Mar 2019 21:45:57 +0000 (22:45 +0100)] 
master: test-auth-master - Add userdb lookup reconnect test.

6 years agomaster: test-auth-master - Add userdb lookup disconnect test.
Stephan Bosch [Wed, 6 Mar 2019 21:01:02 +0000 (22:01 +0100)] 
master: test-auth-master - Add userdb lookup disconnect test.

6 years agomaster: test-auth-master - Add support for retrying userdb lookups.
Stephan Bosch [Wed, 6 Mar 2019 21:15:50 +0000 (22:15 +0100)] 
master: test-auth-master - Add support for retrying userdb lookups.

6 years agomaster: test-auth-master - Add passdb lookup reconnect test.
Stephan Bosch [Wed, 6 Mar 2019 22:00:29 +0000 (23:00 +0100)] 
master: test-auth-master - Add passdb lookup reconnect test.

6 years agomaster: test-auth-master - Add passdb lookup disconnect test.
Stephan Bosch [Wed, 6 Mar 2019 21:54:57 +0000 (22:54 +0100)] 
master: test-auth-master - Add passdb lookup disconnect test.

6 years agomaster: test-auth-master - Add support for retrying passdb lookups.
Stephan Bosch [Wed, 6 Mar 2019 21:08:04 +0000 (22:08 +0100)] 
master: test-auth-master - Add support for retrying passdb lookups.

6 years agolib-auth: auth-master - Create ioloop before connecting to the auth service.
Stephan Bosch [Mon, 4 Mar 2019 23:48:11 +0000 (00:48 +0100)] 
lib-auth: auth-master - Create ioloop before connecting to the auth service.

6 years agolib-auth: auth-master - Make sure connection is disconnected upon error.
Stephan Bosch [Tue, 5 Mar 2019 00:43:16 +0000 (01:43 +0100)] 
lib-auth: auth-master - Make sure connection is disconnected upon error.

6 years agolib: Panic on most epoll_ctl() failures
Timo Sirainen [Fri, 8 Mar 2019 10:34:29 +0000 (12:34 +0200)] 
lib: Panic on most epoll_ctl() failures

Anything except ENOSPC or ENOMEM points to a bug in code. Getting core dump
from those helps debugging.

6 years agolib: connection - Turn connection_init_client_ip*() name parameter into an explicit...
Stephan Bosch [Thu, 7 Mar 2019 20:51:48 +0000 (21:51 +0100)] 
lib: connection - Turn connection_init_client_ip*() name parameter into an explicit hostname.

This way, the default connection name will be hostname:ip when hostname is not
NULL. This will be helpful once the connection API has TLS support.

6 years agoauth: Add client_secret setting
Sergey Kitov [Fri, 1 Mar 2019 08:57:40 +0000 (10:57 +0200)] 
auth: Add client_secret setting

6 years agoauth: Fix for processing oauth2 responses with 4xx HTTP status.
Sergey Kitov [Fri, 1 Mar 2019 08:57:22 +0000 (10:57 +0200)] 
auth: Fix for processing oauth2 responses with 4xx HTTP status.

6 years agolib-smtp: smtp-client-command - Emit smtp_client_command_finished event for replied...
Stephan Bosch [Sat, 2 Mar 2019 12:05:08 +0000 (13:05 +0100)] 
lib-smtp: smtp-client-command - Emit smtp_client_command_finished event for replied commands.

This was an omission.

6 years agolib-smtp: smtp-client-command - Make sure command event is finished just once.
Stephan Bosch [Sat, 2 Mar 2019 12:08:34 +0000 (13:08 +0100)] 
lib-smtp: smtp-client-command - Make sure command event is finished just once.

6 years agoNEWS: Add v2.3.5
Timo Sirainen [Mon, 4 Mar 2019 16:44:30 +0000 (18:44 +0200)] 
NEWS: Add v2.3.5

6 years agolib-oauth2: Provide a unit test for the JSON response payload parser.
Stephan Bosch [Sun, 9 Dec 2018 20:18:22 +0000 (21:18 +0100)] 
lib-oauth2: Provide a unit test for the JSON response payload parser.

6 years agolib-oauth2: Fix assert panic occurring while skipping ignored object and array fields.
Stephan Bosch [Sun, 9 Dec 2018 20:14:29 +0000 (21:14 +0100)] 
lib-oauth2: Fix assert panic occurring while skipping ignored object and array fields.

Fixed by using json_parse_skip(), rather than json_parse_skip_next(). The latter
is not suitable for skipping a value that is already partially parsed by
json_parse_next().

Panic was:

Panic: file json-parser.c: line 668 (json_parse_skip_next): assertion failed: (parser->state == JSON_STATE_OBJECT_COLON || parser->state == JSON_STATE_OBJECT_VALUE || parser->state == JSON_STATE_ARRAY_VALUE || parser->state == JSON_STATE_ARRAY_NEXT)

6 years agolib-oauth2: Fix asynchronous parsing of JSON response payload.
Stephan Bosch [Sun, 9 Dec 2018 20:08:53 +0000 (21:08 +0100)] 
lib-oauth2: Fix asynchronous parsing of JSON response payload.

The problem was caused by the fact that req->field_name was reset in the
beginning of oauth2_parse_json(), which is continuously called when more payload
can be read from the input stream. This leads to corruption of the parser state
machine each time parsing is continued.

To fix this issue, the field_name is now reset only when the parsing commences.

6 years agolib: json-parser: Add unit test on skipping various object member fields.
Stephan Bosch [Sun, 9 Dec 2018 19:27:10 +0000 (20:27 +0100)] 
lib: json-parser: Add unit test on skipping various object member fields.

This both tests skipping fields based on their member key and based on their
value types; i.e., after calling json_parse_next() for the object member value.

6 years agolib: json-parser: Add support for skipping a value that is already partially parsed.
Stephan Bosch [Sun, 9 Dec 2018 19:24:28 +0000 (20:24 +0100)] 
lib: json-parser: Add support for skipping a value that is already partially parsed.

Adds json_parse_skip(), which skips the remainder of the value parsed earlier by
json_parse_next(). This is needed when values need to be skipped by their value
type rather than their object member key.

6 years agolib-storage: pop3c - Copy SSL settings correctly
Aki Tuomi [Wed, 27 Feb 2019 13:25:06 +0000 (15:25 +0200)] 
lib-storage: pop3c - Copy SSL settings correctly

When attempting to use pop3c with immediate SSL, it would
crash due to invalid memory access during connection setup.
Also the SSL mode is not copied so SSL handshake is not attempted
at later stage.

Was broken in 01435c38e7 and ebcf7d6c92

6 years agolib-smtp: smtp-submit - Emit named events.
Stephan Bosch [Sat, 2 Mar 2019 16:18:02 +0000 (17:18 +0100)] 
lib-smtp: smtp-submit - Emit named events.

These have some overlap with the smtp-client events, but for the sendmail binary
submission method those are not produced.

6 years agolib-smtp: smtp-submit - Add support for event API.
Stephan Bosch [Thu, 27 Dec 2018 23:41:43 +0000 (00:41 +0100)] 
lib-smtp: smtp-submit - Add support for event API.

6 years agolib-smtp: smtp-submit - Collect optional inputs to smtp_submit_session_init() into...
Stephan Bosch [Thu, 27 Dec 2018 23:36:32 +0000 (00:36 +0100)] 
lib-smtp: smtp-submit - Collect optional inputs to smtp_submit_session_init() into a struct.

6 years agolib-smtp: smtp-server-transaction - Record the size of the message data in the event...
Stephan Bosch [Tue, 12 Feb 2019 00:48:01 +0000 (01:48 +0100)] 
lib-smtp: smtp-server-transaction - Record the size of the message data in the event at the end of the transaction.

6 years agolib-smtp: smtp-server-recipient - Emit named events.
Stephan Bosch [Tue, 12 Feb 2019 00:47:43 +0000 (01:47 +0100)] 
lib-smtp: smtp-server-recipient - Emit named events.

6 years agolib-smtp: smtp-server-transaction - Emit named events.
Stephan Bosch [Tue, 12 Feb 2019 00:40:29 +0000 (01:40 +0100)] 
lib-smtp: smtp-server-transaction - Emit named events.

6 years agolib-smtp: smtp-server - Record the number of denied recipients.
Stephan Bosch [Tue, 12 Feb 2019 00:33:07 +0000 (01:33 +0100)] 
lib-smtp: smtp-server - Record the number of denied recipients.

6 years agolib-smtp: smtp-server-recipient - Manage "finished" status of the recipient.
Stephan Bosch [Tue, 12 Feb 2019 00:08:16 +0000 (01:08 +0100)] 
lib-smtp: smtp-server-recipient - Manage "finished" status of the recipient.

6 years agolib-smtp: smtp-server-transaction - Manage "finished" status of the transaction.
Stephan Bosch [Mon, 11 Feb 2019 23:59:28 +0000 (00:59 +0100)] 
lib-smtp: smtp-server-transaction - Manage "finished" status of the transaction.

6 years agolib-smtp: smtp-server: Set pointer parameter of smtp_server_transaction_free() to...
Stephan Bosch [Mon, 11 Feb 2019 23:22:38 +0000 (00:22 +0100)] 
lib-smtp: smtp-server: Set pointer parameter of smtp_server_transaction_free() to NULL immediately.

6 years agolib-smtp: smtp-server - Call transaction callbacks from transaction object functions.
Stephan Bosch [Mon, 11 Feb 2019 23:19:49 +0000 (00:19 +0100)] 
lib-smtp: smtp-server - Call transaction callbacks from transaction object functions.

6 years agolib-smtp: smtp-server-command - Emit named events.
Stephan Bosch [Mon, 4 Feb 2019 02:36:03 +0000 (03:36 +0100)] 
lib-smtp: smtp-server-command - Emit named events.

6 years agolib-smtp: smtp-server-reply - Add smtp_server_reply_add_to_event().
Stephan Bosch [Mon, 11 Feb 2019 23:09:21 +0000 (00:09 +0100)] 
lib-smtp: smtp-server-reply - Add smtp_server_reply_add_to_event().

6 years agolib-smtp: smtp-server - Record the enhanced code in the reply content.
Stephan Bosch [Mon, 4 Feb 2019 02:37:52 +0000 (03:37 +0100)] 
lib-smtp: smtp-server - Record the enhanced code in the reply content.

6 years agolib-smtp: smtp-server-reply - Add smtp_server_reply_is_success() and use it.
Stephan Bosch [Mon, 11 Feb 2019 23:01:39 +0000 (00:01 +0100)] 
lib-smtp: smtp-server-reply - Add smtp_server_reply_is_success() and use it.

6 years agolib-smtp: smtp-server-reply - Add smtp_server_reply_get_message().
Stephan Bosch [Mon, 4 Feb 2019 02:32:42 +0000 (03:32 +0100)] 
lib-smtp: smtp-server-reply - Add smtp_server_reply_get_message().

6 years agolib-smtp: smtp-server-reply - Make smtp_server_reply_get_one_line() reply parameter...
Stephan Bosch [Mon, 11 Feb 2019 22:49:59 +0000 (23:49 +0100)] 
lib-smtp: smtp-server-reply - Make smtp_server_reply_get_one_line() reply parameter const.

6 years agolib-smtp: smtp-server.h - Move server functions to a single place.
Stephan Bosch [Mon, 11 Feb 2019 23:04:42 +0000 (00:04 +0100)] 
lib-smtp: smtp-server.h - Move server functions to a single place.

Corrects position of smtp_server_switch_ioloop() in the header file.

6 years agolib-smtp: smtp-server - Replace smtp_*_debug() with e_debug().
Stephan Bosch [Mon, 17 Dec 2018 03:08:47 +0000 (04:08 +0100)] 
lib-smtp: smtp-server - Replace smtp_*_debug() with e_debug().

6 years agolib-smtp: smtp-server - Replace smtp_*_error() with e_error().
Stephan Bosch [Mon, 24 Dec 2018 00:46:56 +0000 (01:46 +0100)] 
lib-smtp: smtp-server - Replace smtp_*_error() with e_error().

6 years agolib-smtp: smtp-server-connection - Replace i_error() with e_error().
Stephan Bosch [Mon, 24 Dec 2018 00:35:52 +0000 (01:35 +0100)] 
lib-smtp: smtp-server-connection - Replace i_error() with e_error().

6 years agolib-smtp: smtp-server - Remove redundant debug logging checks.
Stephan Bosch [Mon, 17 Dec 2018 02:53:32 +0000 (03:53 +0100)] 
lib-smtp: smtp-server - Remove redundant debug logging checks.

6 years agolib-smtp: smtp-server - Add support for event API.
Stephan Bosch [Mon, 17 Dec 2018 02:45:58 +0000 (03:45 +0100)] 
lib-smtp: smtp-server - Add support for event API.

6 years agolib-smtp: smtp-server - Provide RCPT parameters as parameter to smtp_server_recipient...
Stephan Bosch [Thu, 14 Feb 2019 00:05:57 +0000 (01:05 +0100)] 
lib-smtp: smtp-server - Provide RCPT parameters as parameter to smtp_server_recipient_create().

Needed for event API, but also fixes a memory leak occurring upon parameter
parse error.

6 years agolib-smtp: smtp-server - Add smtp_server_command_new_invalid().
Stephan Bosch [Sun, 23 Dec 2018 23:11:59 +0000 (00:11 +0100)] 
lib-smtp: smtp-server - Add smtp_server_command_new_invalid().

Creates an empty command for sending an error reply for an invalid command.

6 years agolib-smtp: smtp-server - Remove unused server->ioloop field.
Stephan Bosch [Sun, 16 Dec 2018 18:40:51 +0000 (19:40 +0100)] 
lib-smtp: smtp-server - Remove unused server->ioloop field.

6 years agolib-smtp: smtp-server - Properly document all settings.
Stephan Bosch [Sun, 16 Dec 2018 18:29:35 +0000 (19:29 +0100)] 
lib-smtp: smtp-server - Properly document all settings.

6 years agolib: connection - Add generic event fields for local and remote addresses.
Stephan Bosch [Thu, 28 Feb 2019 09:03:17 +0000 (10:03 +0100)] 
lib: connection - Add generic event fields for local and remote addresses.

6 years agolib: connection - Use the connection event for all connection types directly.
Stephan Bosch [Thu, 28 Feb 2019 08:55:17 +0000 (09:55 +0100)] 
lib: connection - Use the connection event for all connection types directly.

This way, the common event fields for the connection are available to each
connection type and its descendant events for objects like commands, requests,
and transactions.

This also creates a standard log prefix used by all connection types.

6 years agolib-smtp: smtp-client-connection - Create separate parent event to add the smtp-clien...
Stephan Bosch [Fri, 1 Mar 2019 15:21:36 +0000 (16:21 +0100)] 
lib-smtp: smtp-client-connection - Create separate parent event to add the smtp-client log prefix.

This is needed for a later commit that moves the addition of the connection log
prefix to the connection API.

6 years agolib-smtp: smtp-client-connection - Retain the host name in the connection label after...
Stephan Bosch [Fri, 1 Mar 2019 15:54:48 +0000 (16:54 +0100)] 
lib-smtp: smtp-client-connection - Retain the host name in the connection label after DNS lookup.

6 years agolib-smtp: smtp-client-connection - Remember whether the hostname is actually an IP...
Stephan Bosch [Fri, 1 Mar 2019 14:16:37 +0000 (15:16 +0100)] 
lib-smtp: smtp-client-connection - Remember whether the hostname is actually an IP address.

This is needed to prevent connection log prefix from containing an IP twice.

6 years agolib-dns: dns-lookup - Perform connection-related logging using the connection event.
Stephan Bosch [Fri, 1 Mar 2019 15:02:40 +0000 (16:02 +0100)] 
lib-dns: dns-lookup - Perform connection-related logging using the connection event.

6 years agolib: connection - Add socket_path event field for unix connections.
Stephan Bosch [Fri, 1 Mar 2019 14:12:01 +0000 (15:12 +0100)] 
lib: connection - Add socket_path event field for unix connections.

6 years agolib-http: http-client-connection - Drop the connection ID.
Stephan Bosch [Thu, 28 Feb 2019 08:49:01 +0000 (09:49 +0100)] 
lib-http: http-client-connection - Drop the connection ID.

This is now unused.

6 years agolib-http: http-client-connection - Use the default connection label.
Stephan Bosch [Thu, 28 Feb 2019 08:41:34 +0000 (09:41 +0100)] 
lib-http: http-client-connection - Use the default connection label.

6 years agolib-smtp: smtp-client-connection - Drop the connection ID.
Stephan Bosch [Thu, 28 Feb 2019 08:36:30 +0000 (09:36 +0100)] 
lib-smtp: smtp-client-connection - Drop the connection ID.

This is now unused.

6 years agolib-smtp: smtp-client-connection - Use the default connection label.
Stephan Bosch [Thu, 28 Feb 2019 08:29:44 +0000 (09:29 +0100)] 
lib-smtp: smtp-client-connection - Use the default connection label.

6 years agolib-http: http-server-connection - Drop the connection ID.
Stephan Bosch [Wed, 27 Feb 2019 21:19:27 +0000 (22:19 +0100)] 
lib-http: http-server-connection - Drop the connection ID.

This is now unused.

6 years agolib-http: http-server-connection - Drop the connection properties.
Stephan Bosch [Wed, 27 Feb 2019 21:17:26 +0000 (22:17 +0100)] 
lib-http: http-server-connection - Drop the connection properties.

These are now unused.

6 years agolib-http: http-server-connection - Use the default connection label.
Stephan Bosch [Wed, 27 Feb 2019 21:13:25 +0000 (22:13 +0100)] 
lib-http: http-server-connection - Use the default connection label.

6 years agolib-smtp: smtp-server-connection - Drop the connection ID.
Stephan Bosch [Wed, 27 Feb 2019 20:59:08 +0000 (21:59 +0100)] 
lib-smtp: smtp-server-connection - Drop the connection ID.

This is now unused.

6 years agolib-smtp: smtp-server-connection - Drop the connection properties.
Stephan Bosch [Wed, 27 Feb 2019 20:52:02 +0000 (21:52 +0100)] 
lib-smtp: smtp-server-connection - Drop the connection properties.

These are now unused.

6 years agolib-smtp: smtp-server-connection - Use the default connection label.
Stephan Bosch [Wed, 27 Feb 2019 20:49:04 +0000 (21:49 +0100)] 
lib-smtp: smtp-server-connection - Use the default connection label.

6 years agolib: connection - Remove existing log prefix.
Stephan Bosch [Wed, 27 Feb 2019 20:34:33 +0000 (21:34 +0100)] 
lib: connection - Remove existing log prefix.

It is often redundant to the parent event's log prefix. Subsequent commits will
yield a better and more generic solution.

6 years agolib: connection - Move creation of passthrough event in connection_client_connected().
Stephan Bosch [Wed, 27 Feb 2019 20:30:54 +0000 (21:30 +0100)] 
lib: connection - Move creation of passthrough event in connection_client_connected().

Moved close to where it is used, which is more common in event code elsewhere.

6 years agolib: connection - Make providing a name for the connection optional.
Stephan Bosch [Wed, 27 Feb 2019 20:41:54 +0000 (21:41 +0100)] 
lib: connection - Make providing a name for the connection optional.

6 years agolib-smtp: smtp-server-connection - Use connection properties for remote ip:port.
Stephan Bosch [Wed, 27 Feb 2019 20:23:10 +0000 (21:23 +0100)] 
lib-smtp: smtp-server-connection - Use connection properties for remote ip:port.

6 years agolib-http: http-server-connection - Use connection->label instead of connection->name.
Stephan Bosch [Wed, 27 Feb 2019 20:14:36 +0000 (21:14 +0100)] 
lib-http: http-server-connection - Use connection->label instead of connection->name.

6 years agolib-smtp: smtp-server-connection - Use connection->label instead of connection->name.
Stephan Bosch [Wed, 27 Feb 2019 20:12:20 +0000 (21:12 +0100)] 
lib-smtp: smtp-server-connection - Use connection->label instead of connection->name.

6 years agolib-http: http-client-connection - Use connection_init() immediately upon creation.
Stephan Bosch [Tue, 26 Feb 2019 23:33:19 +0000 (00:33 +0100)] 
lib-http: http-client-connection - Use connection_init() immediately upon creation.

This avoids the need to remember whether the connection was initialized.

6 years agolib: connection - Compose standard names for the input/output streams.
Stephan Bosch [Fri, 1 Mar 2019 23:49:58 +0000 (00:49 +0100)] 
lib: connection - Compose standard names for the input/output streams.

6 years agolib: connection - Add a unique numeric ID to the connection.
Stephan Bosch [Wed, 27 Feb 2019 02:16:57 +0000 (03:16 +0100)] 
lib: connection - Add a unique numeric ID to the connection.

It is incremented for each created connection. The IDs are specific to the
connection list.

6 years agolib: connection - Compose a standard label for logging.
Stephan Bosch [Wed, 27 Feb 2019 02:09:03 +0000 (03:09 +0100)] 
lib: connection - Compose a standard label for logging.

6 years agolib: connection - Add connection_init_server_ip().
Stephan Bosch [Wed, 27 Feb 2019 01:28:23 +0000 (02:28 +0100)] 
lib: connection - Add connection_init_server_ip().