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 | 3391b3c8909285808e4c0760a991049b384ecf4a (patch) | |
tree | b81867187ddb49dc989c86aa49ac8d56db818876 /net | |
parent | e0a5c81fb0f64d2761a2e5e0cca47b1a7656ea8f (diff) | |
download | prosody-3391b3c8909285808e4c0760a991049b384ecf4a.tar.gz prosody-3391b3c8909285808e4c0760a991049b384ecf4a.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 ) |