Skip to content

Commit cd21726

Browse files
author
Tuure Vartiainen
committed
doc: updated the documentation to point to a related branch of lua-resty-core containing TLS-PSK functions.
1 parent ac48bd2 commit cd21726

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.markdown

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,7 +2591,7 @@ the SSL session via SSL session IDs or TLS session tickets for the current SSL c
25912591
other words, this Lua handler only runs when NGINX has to initiate a full SSL handshake.
25922592

25932593
Below is a trivial example using the
2594-
[ngx.ssl](https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl.md) module
2594+
[ngx.ssl](https://github.com/vartiait/lua-resty-core/blob/ssl-psk/lib/ngx/ssl.md) module
25952595
at the same time:
25962596

25972597
```nginx
@@ -2615,8 +2615,7 @@ at the same time:
26152615
See more complicated examples in the [ngx.ssl](https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl.md)
26162616
Lua module's official documentation.
26172617

2618-
Uncaught Lua exceptions in the user Lua code immediately abort the current SSL session, so does the
2619-
[ngx.exit](#ngxexit) call with an error code like `ngx.ERROR`.
2618+
Uncaught Lua exceptions in the user Lua code immediately abort the current SSL session, so does return call with an error code like `ngx.ERROR`.
26202619

26212620
This Lua code execution context *does not* support yielding, so Lua APIs that may yield
26222621
(like cosockets, sleeping, and "light threads")

doc/HttpLuaModule.wiki

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ the SSL session via SSL session IDs or TLS session tickets for the current SSL c
21802180
other words, this Lua handler only runs when NGINX has to initiate a full SSL handshake.
21812181
21822182
Below is a trivial example using the
2183-
[https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl.md ngx.ssl] module
2183+
[https://github.com/vartiait/lua-resty-core/blob/ssl-psk/lib/ngx/ssl.md ngx.ssl] module
21842184
at the same time:
21852185
21862186
<geshi lang="nginx">
@@ -2203,8 +2203,7 @@ at the same time:
22032203
See more complicated examples in the [https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl.md ngx.ssl]
22042204
Lua module's official documentation.
22052205
2206-
Uncaught Lua exceptions in the user Lua code immediately abort the current SSL session, so does the
2207-
[[#ngx.exit|ngx.exit]] call with an error code like <code>ngx.ERROR</code>.
2206+
Uncaught Lua exceptions in the user Lua code immediately abort the current SSL session, so does return call with an error code like <code>ngx.ERROR</code>.
22082207
22092208
This Lua code execution context *does not* support yielding, so Lua APIs that may yield
22102209
(like cosockets, sleeping, and "light threads")

0 commit comments

Comments
 (0)