Mercurial > hg > nginx-quic
comparison src/imap/ngx_imap_proxy_handler.c @ 413:de9d4726e28a
nginx-0.0.10-2004-08-31-23:05:39 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 31 Aug 2004 19:05:39 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
412:199cd29f35a3 | 413:de9d4726e28a |
---|---|
1 | |
2 #include <ngx_config.h> | |
3 #include <ngx_core.h> | |
4 #include <ngx_event.h> | |
5 | |
6 | |
7 void ngx_imap_proxy_init_connection(ngx_connection_t *c) | |
8 { | |
9 ngx_log_debug0(NGX_LOG_DEBUG_IMAP, c->log, 0, | |
10 "imap proxy init connection"); | |
11 | |
12 if (ngx_close_socket(c->fd) == -1) { | |
13 | |
14 /* we use ngx_cycle->log because c->log was in c->pool */ | |
15 | |
16 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, ngx_socket_errno, | |
17 ngx_close_socket_n " failed"); | |
18 } | |
19 } |