Changeset 6726:631753428ecb in nginx


Ignore:
Timestamp:
10/05/16 10:57:43 (3 years ago)
Author:
Ruslan Ermilov <ru@…>
Branch:
default
Phase:
public
Message:

Core: use c->log while closing connection.

c->pool is not destroyed here since c52408583801.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/core/ngx_connection.c

    r6559 r6726  
    11921192        }
    11931193
    1194         /* we use ngx_cycle->log because c->log was in c->pool */
    1195 
    1196         ngx_log_error(level, ngx_cycle->log, err,
    1197                       ngx_close_socket_n " %d failed", fd);
     1194        ngx_log_error(level, c->log, err, ngx_close_socket_n " %d failed", fd);
    11981195    }
    11991196}
Note: See TracChangeset for help on using the changeset viewer.