diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-02-17 21:11:27 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-17 21:11:27 +0000 |
| commit | 22a7c50463654139e14b4645a1ac8e35feec9900 (patch) | |
| tree | fdb5b6909391cf1c1e59f85d73e1900268c0f7d4 /src/event/modules/ngx_iocp_module.c | |
| parent | 9139cd23517a14e299ec96c675e8c9f96accf6bf (diff) | |
| download | nginx-22a7c50463654139e14b4645a1ac8e35feec9900.tar.gz nginx-22a7c50463654139e14b4645a1ac8e35feec9900.tar.bz2 | |
nginx-0.0.2-2004-02-18-00:11:27 import
Diffstat (limited to 'src/event/modules/ngx_iocp_module.c')
| -rw-r--r-- | src/event/modules/ngx_iocp_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/modules/ngx_iocp_module.c b/src/event/modules/ngx_iocp_module.c index 9612c9ab9..e95a81974 100644 --- a/src/event/modules/ngx_iocp_module.c +++ b/src/event/modules/ngx_iocp_module.c @@ -13,7 +13,7 @@ static int ngx_iocp_init(ngx_cycle_t *cycle); static void ngx_iocp_done(ngx_cycle_t *cycle); static int ngx_iocp_add_event(ngx_event_t *ev, int event, u_int key); -static int ngx_iocp_del_connection(ngx_connection_t *c); +static int ngx_iocp_del_connection(ngx_connection_t *c, u_int flags); static int ngx_iocp_process_events(ngx_log_t *log); static void *ngx_iocp_create_conf(ngx_cycle_t *cycle); static char *ngx_iocp_init_conf(ngx_cycle_t *cycle, void *conf); @@ -154,7 +154,7 @@ static int ngx_iocp_add_event(ngx_event_t *ev, int event, u_int key) } -static int ngx_iocp_del_connection(ngx_connection_t *c) +static int ngx_iocp_del_connection(ngx_connection_t *c, u_int flags) { if (CancelIo((HANDLE) c->fd) == 0) { ngx_log_error(NGX_LOG_ALERT, c->log, ngx_errno, "CancelIo() failed"); |
