mirror of
https://github.com/lxsang/ant-http
synced 2024-11-16 00:28:21 +01:00
Update http_server.c
This commit is contained in:
parent
e6f0588a84
commit
7315ece4dc
@ -423,9 +423,9 @@ void *resolve_request(void *data)
|
||||
antd_request_t *rq = (antd_request_t *)data;
|
||||
antd_task_t *task = antd_create_task(NULL, (void *)rq, NULL, rq->client->last_io);
|
||||
char *url = (char *)dvalue(rq->request, "RESOURCE_PATH");
|
||||
//char *newurl = NULL;
|
||||
//char *rqp = NULL;
|
||||
//char *oldrqp = NULL;
|
||||
char *newurl = NULL;
|
||||
char *rqp = NULL;
|
||||
char *oldrqp = NULL;
|
||||
rq->client->state = ANTD_CLIENT_RESOLVE_REQUEST;
|
||||
htdocs(rq, path);
|
||||
strcat(path, url);
|
||||
|
Loading…
Reference in New Issue
Block a user