Style fixes.

This commit is contained in:
Igor Sysoev
2019-10-10 19:42:41 +03:00
parent ec0d5c928e
commit 09e7357b08
7 changed files with 35 additions and 22 deletions

View File

@@ -599,13 +599,15 @@ nxt_h1p_header_process(nxt_task_t *task, nxt_h1proto_t *h1p,
}
if (nxt_slow_path(h1p->websocket_key == NULL)) {
nxt_log(task, NXT_LOG_INFO, "h1p upgrade: bad or absent websocket key");
nxt_log(task, NXT_LOG_INFO,
"h1p upgrade: bad or absent websocket key");
return NXT_HTTP_BAD_REQUEST;
}
if (nxt_slow_path(h1p->websocket_version_ok == 0)) {
nxt_log(task, NXT_LOG_INFO, "h1p upgrade: bad or absent websocket version");
nxt_log(task, NXT_LOG_INFO,
"h1p upgrade: bad or absent websocket version");
return NXT_HTTP_UPGRADE_REQUIRED;
}