提交 a8522ff3 authored 作者: Seven Du's avatar Seven Du

remove debug

上级 a80f1d35
...@@ -1341,7 +1341,7 @@ static void http_static_handler(switch_http_request_t *request) ...@@ -1341,7 +1341,7 @@ static void http_static_handler(switch_http_request_t *request)
switch_snprintf(path, sizeof(path), "%s%s", jsock->profile->htdocs, request->uri); switch_snprintf(path, sizeof(path), "%s%s", jsock->profile->htdocs, request->uri);
printf("local path: %s\n", path); // printf("local path: %s\n", path);
if (end_of(path) == '/') { if (end_of(path) == '/') {
char *data = "HTTP/1.1 500 Internal Error\r\n" char *data = "HTTP/1.1 500 Internal Error\r\n"
...@@ -1413,7 +1413,7 @@ static void http_run(jsock_t *jsock) ...@@ -1413,7 +1413,7 @@ static void http_run(jsock_t *jsock)
goto err; goto err;
} }
switch_http_dump_request(&request); // switch_http_dump_request(&request);
/* TODO: parse virtual hosts here */ /* TODO: parse virtual hosts here */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论