Skip to content

Commit 35c1131

Browse files
committed
use r->connection->pool
1 parent 8e2c0df commit 35c1131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_lua_ssl_client_helloby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ ngx_http_lua_ffi_ssl_get_client_hello_ext_present(ngx_http_request_t *r,
692692
return NGX_DECLINED;
693693
}
694694

695-
*extensions = ngx_palloc(r->pool, sizeof(int) * ext_len);
695+
*extensions = ngx_palloc(r->connection->pool, sizeof(int) * ext_len);
696696
if (*extensions != NULL) {
697697
ngx_memcpy(*extensions, ext_out, sizeof(int) * ext_len);
698698
*extensions_len = ext_len;

0 commit comments

Comments
 (0)