Software /
code /
prosody
Comparison
net/server_select.lua @ 2243:bd17dd75b4a5
Merged with tip.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Fri, 27 Nov 2009 00:19:56 +0100 |
parent | 2233:459c1d1cae95 |
child | 2250:3196dabe8a36 |
comparison
equal
deleted
inserted
replaced
2242:ee6ac55a72d6 | 2243:bd17dd75b4a5 |
---|---|
425 end | 425 end |
426 handler.pattern = function( self, new ) | 426 handler.pattern = function( self, new ) |
427 pattern = new or pattern | 427 pattern = new or pattern |
428 return pattern | 428 return pattern |
429 end | 429 end |
430 handler.setsend = function ( self, newsend ) | 430 handler.set_send = function ( self, newsend ) |
431 send = newsend or send | 431 send = newsend or send |
432 return send | 432 return send |
433 end | 433 end |
434 handler.bufferlen = function( self, readlen, sendlen ) | 434 handler.bufferlen = function( self, readlen, sendlen ) |
435 maxsendlen = sendlen or maxsendlen | 435 maxsendlen = sendlen or maxsendlen |