| 1131 | } |
| 1132 | |
| 1133 | static void handle_one(HTTP_CLIENT *http_client, HTTP_CLIENT_REQ *req) |
| 1134 | { |
| 1135 | int ret; |
| 1136 | http_client->req_curr = req; /* ���õ�ǰ���Դ��������� */ |
| 1137 | |
| 1138 | /* �ȼ���û��Զ�������� */ |
| 1139 | if ((ret = http_client_req_filter(http_client))) { |
| 1140 | /* ������ط�0ֵ���ʾ����������ӹ��˸����� */ |
| 1141 | return; |
| 1142 | } |
| 1143 | |
| 1144 | /* ����DNS��ѯ�ص����� */ |
| 1145 | http_client->entry.nslookup_notify_fn = nslookup_complete_fn; |
| 1146 | http_client->entry.dns_errmsg = NULL; |
| 1147 | |
| 1148 | /* �������������ͷ�л�ȡ����˵Ķ˿ں� */ |
| 1149 | dns_lookup(&http_client->entry, req->hdr_req->host, req->hdr_req->port); |
| 1150 | } |
| 1151 | |
| 1152 | /** |
| 1153 | * �ɹ�����HTTP����ͷ��Ļص����� |
no test coverage detected
searching dependent graphs…