Skip to content

Commit 1ab0eca

Browse files
committed
chore: typo fixes
1 parent 715e636 commit 1ab0eca

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/ngx_http_lua_ssl_client_helloby.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn,
207207

208208
if (cctx->done) {
209209
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
210-
"lua_client_hello_by_lua: "
210+
"ssl_client_hello_by_lua: "
211211
"client hello cb exit code: %d",
212212
cctx->exit_code);
213213

@@ -310,7 +310,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn,
310310
}
311311

312312
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
313-
"lua_client_hello_by_lua: handler return value: %i, "
313+
"ssl_client_hello_by_lua: handler return value: %i, "
314314
"client hello cb exit code: %d", rc, cctx->exit_code);
315315

316316
c->log->action = "SSL handshaking";
@@ -402,7 +402,7 @@ ngx_http_lua_ssl_client_hello_aborted(void *data)
402402
}
403403

404404
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, cctx->connection->log, 0,
405-
"lua_client_hello_by_lua: client hello cb aborted");
405+
"ssl_client_hello_by_lua: client hello cb aborted");
406406

407407
cctx->aborted = 1;
408408
cctx->request->connection->ssl = NULL;

t/166-ssl-client-hello.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ failed to do SSL handshake: handshake failed
583583

584584
--- error_log eval
585585
[
586-
'lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0',
586+
'ssl_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0',
587587
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
588588
'lua exit with code -1',
589589
]
@@ -724,7 +724,7 @@ failed to do SSL handshake: handshake failed
724724

725725
--- error_log eval
726726
[
727-
'lua_client_hello_by_lua: client hello cb exit code: 0',
727+
'ssl_client_hello_by_lua: client hello cb exit code: 0',
728728
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
729729
'lua exit with code -1',
730730
]
@@ -795,7 +795,7 @@ failed to do SSL handshake: handshake failed
795795
--- error_log eval
796796
[
797797
'runtime error: ssl_client_hello_by_lua(nginx.conf:28):2: bad bad bad',
798-
'lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0',
798+
'ssl_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0',
799799
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
800800
qr/context: ssl_client_hello_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+/,
801801
]
@@ -867,7 +867,7 @@ failed to do SSL handshake: handshake failed
867867
--- error_log eval
868868
[
869869
'runtime error: ssl_client_hello_by_lua(nginx.conf:28):3: bad bad bad',
870-
'lua_client_hello_by_lua: client hello cb exit code: 0',
870+
'ssl_client_hello_by_lua: client hello cb exit code: 0',
871871
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
872872
]
873873

@@ -2631,7 +2631,7 @@ ssl handshake: boolean
26312631

26322632
--- error_log eval
26332633
[
2634-
'lua_client_hello_by_lua: handler return value: 0, client hello cb exit code: 1',
2634+
'ssl_client_hello_by_lua: handler return value: 0, client hello cb exit code: 1',
26352635
qr/\[debug\] .*? SSL_do_handshake: 1/,
26362636
'lua exit with code 0',
26372637
]

0 commit comments

Comments
 (0)