MCPcopy Create free account
hub / github.com/acl-dev/acl / on_accept

Method on_accept

lib_acl_cpp/src/http/http_service.cpp:620–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618#endif
619
620void 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
635void http_service::on_open(const char*addr)
636{

Callers

nothing calls this directly

Calls 4

http_ipcClass · 0.85
append_messageMethod · 0.80
openMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected