Skip to content

Commit

Permalink
lib-http: http-server-connection - Drop the connection ID.
Browse files Browse the repository at this point in the history
This is now unused.
  • Loading branch information
stephanbosch committed Mar 1, 2019
1 parent aa81aea commit 6a10d34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/lib-http/http-server-connection.c
Expand Up @@ -1078,13 +1078,11 @@ http_server_connection_create(struct http_server *server,
{
const struct http_server_settings *set = &server->set;
struct http_server_connection *conn;
static unsigned int id = 0;

i_assert(!server->shutting_down);

conn = i_new(struct http_server_connection, 1);
conn->refcount = 1;
conn->id = id++;
conn->server = server;
conn->ssl = ssl;
conn->callbacks = callbacks;
Expand Down
2 changes: 0 additions & 2 deletions src/lib-http/http-server-private.h
Expand Up @@ -129,8 +129,6 @@ struct http_server_connection {
const struct http_server_callbacks *callbacks;
void *context;

unsigned int id; // DEBUG

struct timeout *to_input, *to_idle;
struct ssl_iostream *ssl_iostream;
struct http_request_parser *http_parser;
Expand Down

0 comments on commit 6a10d34

Please sign in to comment.