Skip to content

Commit

Permalink
Revert "disable ngx_lua_assert"
Browse files Browse the repository at this point in the history
This reverts commit 39b66ad.
  • Loading branch information
vm-001 committed Feb 2, 2023
1 parent 867b8eb commit 5b1f384
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ index f71a3e00..0d403716 100644
+
+ items = (ngx_http_lua_balancer_keepalive_item_t *) (&upool->free + 1);
+
+ /*ngx_http_lua_assert((void *) items == ngx_align_ptr(items, NGX_ALIGNMENT));*/
+ ngx_http_lua_assert((void *) items == ngx_align_ptr(items, NGX_ALIGNMENT));
+
+ for (i = 0; i < cpool_size; i++) {
+ ngx_queue_insert_head(&upool->free, &items[i].queue);
Expand Down

0 comments on commit 5b1f384

Please sign in to comment.