Skip to content

Commit 5f51ff0

Browse files
hongzhidaoInfoHunter
authored andcommitted
typo
1 parent 3f84697 commit 5f51ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ ngx_rbtree_delete(&root->rbtree, node);
656656
哈希
657657
----
658658

659-
唏希表定义在 src/core/ngx_hash.h,支持精确和通配符匹配。后者需要额外的处理,放在下面的章节专门描述。
659+
哈希表定义在 src/core/ngx_hash.h,支持精确和通配符匹配。后者需要额外的处理,放在下面的章节专门描述。
660660

661661
初始化哈希时,我们需要提前知道元素的个数,以便nginx能更好的优化哈希表。max_size 和 bucket_size 这两参数需要配置。细节详见官方提供的文档。通常这两参数会做成用户可配置的。哈希初始化的设置放在ngx_hash_init_t类型的存储中。而哈希表本身的类型是 ngx_hash_t。
662662

0 commit comments

Comments
 (0)