| 618 | #endif |
| 619 | |
| 620 | void http_service::on_accept(aio_socket_stream* client) |
| 621 | { |
| 622 | ipc_client* ipc = NEW http_ipc(magic_); |
| 623 | ipc->open(client); |
| 624 | |
| 625 | // ������Ϣ���� |
| 626 | |
| 627 | ipc->append_message(HTTP_MSG_HDR); |
| 628 | ipc->append_message(HTTP_MSG_DAT); |
| 629 | ipc->append_message(HTTP_MSG_ERR); |
| 630 | |
| 631 | // �첽�ȴ���Ϣ |
| 632 | ipc->wait(); |
| 633 | } |
| 634 | |
| 635 | void http_service::on_open(const char*addr) |
| 636 | { |
nothing calls this directly
no test coverage detected