chore(lander): move a log line
This commit is contained in:
parent
8e0477c34b
commit
89cc41f28a
2 changed files with 5 additions and 5 deletions
|
|
@ -27,6 +27,10 @@ void lnm_http_loop_process_parse_req(lnm_http_conn *conn) {
|
|||
case lnm_http_parse_err_ok:
|
||||
conn->r.read += ctx->req.len;
|
||||
ctx->state = lnm_http_loop_state_route;
|
||||
|
||||
lnm_linfo(section, "%s %.*s HTTP/1.%i",
|
||||
lnm_http_method_names[ctx->req.method], (int)ctx->req.path.len,
|
||||
ctx->req.path.s, ctx->req.minor_version);
|
||||
break;
|
||||
case lnm_http_parse_err_incomplete:
|
||||
// If the request is already the size of the read buffer, we close the
|
||||
|
|
@ -48,10 +52,6 @@ void lnm_http_loop_process_parse_req(lnm_http_conn *conn) {
|
|||
ctx->state = lnm_http_loop_state_first_res;
|
||||
break;
|
||||
}
|
||||
|
||||
lnm_linfo(section, "%s %.*s HTTP/1.%i",
|
||||
lnm_http_method_names[ctx->req.method], (int)ctx->req.path.len,
|
||||
ctx->req.path.s, ctx->req.minor_version);
|
||||
}
|
||||
|
||||
void lnm_http_loop_process_route(lnm_http_conn *conn) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue