Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc: update doc
  • Loading branch information
fffonion committed Feb 12, 2018
1 parent eecc96a commit 39de3d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -45,7 +45,7 @@ Synopsis

Shared dictionaries defined in `http` and `stream` subsystems are not shared to each other *currently*, thus we need two sets of configurations to debug with either subsystem.

However there're [patches](patches) if you want to share shdict between `http` and `stream` subsystems. After apply the patch, you will need to use two `lua_shared_dict` directive to define shared dict twice with same name and size. e.g.:
However there're [patches](patches) if you want to share shdict between `http` and `stream` subsystems. After apply the patch, you will need to use two `lua_shared_dict` directives to define shared dict twice with same name and same size. e.g.:

```lua
http {
Expand All @@ -57,6 +57,7 @@ stream {
}
```

This module provide a similar API to use in both subsystems.

http
----
Expand Down

0 comments on commit 39de3d8

Please sign in to comment.