Software /
code /
prosody
Changeset
9574:03214e6e3272
net.server_select: Deprecate connection:lock_read() method
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Oct 2018 16:49:28 +0100 |
parents | 9573:57637247356d |
children | 9575:1fb3e7c550bf |
files | net/server_select.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_select.lua Sat Oct 27 20:44:53 2018 +0200 +++ b/net/server_select.lua Sun Oct 28 16:49:28 2018 +0100 @@ -456,8 +456,8 @@ maxreadlen = readlen or maxreadlen return bufferlen, maxreadlen, maxsendlen end - --TODO: Deprecate handler.lock_read = function (self, switch) + out_error( "server.lua, lock_read() is deprecated, use pause() and resume()" ) if switch == true then local tmp = _readlistlen _readlistlen = removesocket( _readlist, socket, _readlistlen )