diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-28 16:49:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-28 16:49:28 +0100 |
commit | 7abfe39cc3a0949c8bde868dd3811bf33149897d (patch) | |
tree | b81867187ddb49dc989c86aa49ac8d56db818876 /net | |
parent | 84c8383fb69596d4907e67cd4832147a12156361 (diff) | |
download | prosody-7abfe39cc3a0949c8bde868dd3811bf33149897d.tar.gz prosody-7abfe39cc3a0949c8bde868dd3811bf33149897d.zip |
net.server_select: Deprecate connection:lock_read() method
Diffstat (limited to 'net')
-rw-r--r-- | net/server_select.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index bc86742c..1c016633 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -456,8 +456,8 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport 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 ) |