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

Function handle_one

app/jaws/module/mod_http/http_proxy.c:1133–1150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131}
1132
1133static 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����ͷ��Ļص�����

Callers 2

request_header_readyFunction · 0.70
http_proxy_nextFunction · 0.70

Calls 2

http_client_req_filterFunction · 0.85
dns_lookupFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…