comparison src/event/ngx_event_close.c @ 6:669801705ab1

nginx-0.0.1-2002-08-26-19:18:19 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Aug 2002 15:18:19 +0000
parents 4eff17414a43
children b5481d6fbbd4
comparison
equal deleted inserted replaced
5:62b1a364857c 6:669801705ab1
3 #include <ngx_types.h> 3 #include <ngx_types.h>
4 #include <ngx_connection.h> 4 #include <ngx_connection.h>
5 #include <ngx_event_close.h> 5 #include <ngx_event_close.h>
6 6
7 7
8 int ngx_event_close(ngx_event_t *ev) 8 int ngx_event_close_connection(ngx_event_t *ev)
9 { 9 {
10 int rc; 10 int rc;
11 ngx_connection_t *cn = (ngx_connection_t *) ev->data; 11 ngx_connection_t *cn = (ngx_connection_t *) ev->data;
12 12
13 ngx_assert((cn->fd != -1), return -1, ev->log, 13 ngx_assert((cn->fd != -1), return -1, ev->log,