Mercurial > prosody-modules
comparison mod_auth_external/README.markdown @ 3389:788200f5f481
mod_auth_external/README: Update to reflect non-blocking by default
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 01 Dec 2018 15:27:53 +0100 |
| parents | ea6b5321db50 |
| children | 3287dd234f3f |
comparison
equal
deleted
inserted
replaced
| 3388:c458f940b011 | 3389:788200f5f481 |
|---|---|
| 50 --------------------------- -------------- ------------------------------------------------------------------------------------------------------------------ | 50 --------------------------- -------------- ------------------------------------------------------------------------------------------------------------------ |
| 51 | 51 |
| 52 Blocking vs non-blocking | 52 Blocking vs non-blocking |
| 53 ------------------------ | 53 ------------------------ |
| 54 | 54 |
| 55 Non-blocking mode is automatically activated when: | 55 Non-blocking mode is experimental and is disabled by default. |
| 56 | |
| 57 Enable at your own risk if you fulfil these conditions: | |
| 56 | 58 |
| 57 - Running Prosody trunk ([nightly](http://prosody.im/nightly/) build | 59 - Running Prosody trunk ([nightly](http://prosody.im/nightly/) build |
| 58 414+). | 60 414+). |
| 59 - [libevent](http://prosody.im/doc/libevent) is enabled in the config, | 61 - [libevent](http://prosody.im/doc/libevent) is enabled in the config, |
| 60 and LuaEvent is available. | 62 and LuaEvent is available. |
| 61 - lpty (see installation above) is version 1.0.1 or later. | 63 - lpty (see installation above) is version 1.0.1 or later. |
| 64 | |
| 65 ```lua | |
| 66 external_auth_blocking = false; | |
| 67 ``` | |
| 62 | 68 |
| 63 Protocol | 69 Protocol |
| 64 ======== | 70 ======== |
| 65 | 71 |
| 66 Prosody executes the given command/script, and sends it queries. | 72 Prosody executes the given command/script, and sends it queries. |
