Skip to content

Commit 5fcb131

Browse files
committed
change busy_rc to busy_msg
1 parent 7a38ce9 commit 5fcb131

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ngx_http_lua_socket_tcp.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@ ngx_http_lua_ffi_socket_tcp_sslhandshake(ngx_http_request_t *r,
15691569
ngx_connection_t *c;
15701570
ngx_http_lua_ctx_t *ctx;
15711571
ngx_http_lua_co_ctx_t *coctx;
1572-
const char *busy_rc;
1572+
const char *busy_msg;
15731573
ngx_ssl_conn_t *ssl_conn;
15741574
X509 *x509;
15751575

@@ -1590,11 +1590,11 @@ ngx_http_lua_ffi_socket_tcp_sslhandshake(ngx_http_request_t *r,
15901590
return NGX_ERROR;
15911591
}
15921592

1593-
busy_rc = ngx_http_lua_socket_tcp_check_busy(r, u, SOCKET_OP_CONNECT
1593+
busy_msg = ngx_http_lua_socket_tcp_check_busy(r, u, SOCKET_OP_CONNECT
15941594
| SOCKET_OP_READ
15951595
| SOCKET_OP_WRITE);
1596-
if (busy_rc != NULL) {
1597-
*errmsg = busy_rc;
1596+
if (busy_msg != NULL) {
1597+
*errmsg = busy_msg;
15981598
return NGX_ERROR;
15991599
}
16001600

0 commit comments

Comments
 (0)