Skip to content

Commit de6820b

Browse files
authored
chore: typo fixes.
1 parent 90c3964 commit de6820b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/ngx_stream_lua_ssl_client_helloby.c

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

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

@@ -311,7 +311,7 @@ ngx_stream_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn,
311311
}
312312

313313
ngx_log_debug2(NGX_LOG_DEBUG_STREAM, c->log, 0,
314-
"stream lua_client_hello_by_lua:"
314+
"stream ssl_client_hello_by_lua:"
315315
" handler return value: %i, "
316316
"client hello cb exit code: %d", rc, cctx->exit_code);
317317

@@ -400,7 +400,7 @@ ngx_stream_lua_ssl_client_hello_aborted(void *data)
400400
}
401401

402402
ngx_log_debug0(NGX_LOG_DEBUG_STREAM, cctx->connection->log, 0,
403-
"stream lua_client_hello_by_lua: client hello cb aborted");
403+
"stream ssl_client_hello_by_lua: client hello cb aborted");
404404

405405
cctx->aborted = 1;
406406
cctx->request->connection->ssl = NULL;

t/162-ssl-client-hello-by.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ failed to do SSL handshake: handshake failed
448448
449449
--- error_log eval
450450
[
451-
'lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0',
451+
'ssl_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0',
452452
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
453453
'lua exit with code -1',
454454
]
@@ -567,7 +567,7 @@ failed to do SSL handshake: handshake failed
567567
568568
--- error_log eval
569569
[
570-
'lua_client_hello_by_lua: client hello cb exit code: 0',
570+
'ssl_client_hello_by_lua: client hello cb exit code: 0',
571571
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
572572
'lua exit with code -1',
573573
]
@@ -627,7 +627,7 @@ failed to do SSL handshake: handshake failed
627627
--- error_log eval
628628
[
629629
'runtime error: ssl_client_hello_by_lua:2: bad bad bad',
630-
'lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0',
630+
'ssl_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0',
631631
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
632632
qr/context: ssl_client_hello_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+/,
633633
]
@@ -688,7 +688,7 @@ failed to do SSL handshake: handshake failed
688688
--- error_log eval
689689
[
690690
'runtime error: ssl_client_hello_by_lua:3: bad bad bad',
691-
'lua_client_hello_by_lua: client hello cb exit code: 0',
691+
'ssl_client_hello_by_lua: client hello cb exit code: 0',
692692
qr/\[info\] .*? SSL_do_handshake\(\) failed .*?callback failed/,
693693
]
694694

0 commit comments

Comments
 (0)