Software / code / prosody
Annotate
teal-src/util/random.d.tl @ 12136:6366240d2edb
mod_smacks: Limit "old" session resumption counters
Doing this when creating a whole new session seems reasonable because it
is already expensive and this is when it may be adding to the old
session store, while a successful resumption should be plus-minus zero.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 31 Dec 2021 00:48:38 +0100 |
| parent | 11459:86904555bffc |
| rev | line source |
|---|---|
|
11432
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
|
11459
86904555bffc
teal: Use new integer support in Teal 0.13.0
Kim Alvefur <zash@zash.se>
parents:
11432
diff
changeset
|
2 bytes : function (n:integer):string |
|
11432
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 end |
|
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 return lib |