| 133 | } |
| 134 | |
| 135 | bool master_service::thread_on_accept(acl::socket_stream* conn) |
| 136 | { |
| 137 | //logger("connect from %s, fd: %d, timeout: %d", conn->get_peer(true), |
| 138 | // conn->sock_handle(), conn->get_rw_timeout()); |
| 139 | |
| 140 | acl::string* buf = new acl::string(128); |
| 141 | conn->set_ctx(buf); |
| 142 | conn->set_rw_timeout(var_cfg_io_timeout); |
| 143 | |
| 144 | return true; |
| 145 | } |
| 146 | |
| 147 | bool master_service::thread_on_timeout(acl::socket_stream* conn) |
| 148 | { |
nothing calls this directly
no test coverage detected