| 103 | set_event(eventp); // ���û�����¼���� |
| 104 | |
| 105 | acl_foreach(iter, tokens) { |
| 106 | const char* addr = (const char*) iter.data; |
| 107 | aio_listen_stream* sstream = NEW aio_listen_stream(handle_); |
| 108 | // ����ָ���ĵ�ַ |
| 109 | if (!sstream->open(addr)) { |
| 110 | logger_error("listen %s error: %s", addr, last_serror()); |
| 111 | close_all_listener(sstreams); |
| 112 | // XXX: Ϊ�˱�֤�ܹرռ�������Ӧ�ڴ˴��� check һ�� |
| 113 | handle_->check(); |
| 114 | acl_argv_free(tokens); |
| 115 | return (false); |
| 116 | } |
| 117 | |
| 118 | service_on_listen(this, sstream->get_vstream()); |
| 119 | sstream->add_accept_callback(this); |
| 120 | } |
| 121 | acl_argv_free(tokens); |
| 122 | |
| 123 | service_pre_jail(this); |
nothing calls this directly
no test coverage detected
searching dependent graphs…