Software /
code /
prosody
Changeset
2453:44d4c69155e0
net.server_event: Add conn:setoption() to set options on the socket
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 12 Jan 2010 15:16:22 +0000 |
parents | 2452:2a51031c9ca3 |
children | 2454:e4818c49192d |
files | net/server_event.lua |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Tue Jan 12 15:15:49 2010 +0000 +++ b/net/server_event.lua Tue Jan 12 15:16:22 2010 +0000 @@ -418,6 +418,10 @@ return true end + function interface_mt:setoption(option, value) + return self.conn:setoption(option, value); + end + -- Stub handlers function interface_mt:onconnect() end