Skip to content

Commit

Permalink
lib-http: http-server-connection - Use connection->label instead of c…
Browse files Browse the repository at this point in the history
…onnection->name.
  • Loading branch information
stephanbosch committed Mar 1, 2019
1 parent 1be917a commit ab7079b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/lib-http/http-server-connection.c
Expand Up @@ -1055,7 +1055,8 @@ http_server_connection_pending_payload(struct http_server_connection *conn)
static struct connection_settings http_server_connection_set = {
.input_max_size = (size_t)-1,
.output_max_size = (size_t)-1,
.client = FALSE
.client = FALSE,
.log_connection_id = TRUE,
};

static const struct connection_vfuncs http_server_connection_vfuncs = {
Expand Down
2 changes: 1 addition & 1 deletion src/lib-http/http-server-private.h
Expand Up @@ -238,7 +238,7 @@ void http_server_payload_handler_switch_ioloop(
static inline const char *
http_server_connection_label(struct http_server_connection *conn)
{
return conn->conn.name;
return conn->conn.label;
}

static inline void
Expand Down

0 comments on commit ab7079b

Please sign in to comment.