Comparison

net/server_select.lua @ 6316:e144a1b67c30

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Fri, 25 Jul 2014 13:54:47 +0100
parent 6286:ec6e8d5a3fd3
parent 6315:7a3e2f2d43fc
child 6383:ec8878113907
comparison
equal deleted inserted replaced
6313:8bd486b6e5ec 6316:e144a1b67c30
708 if not sender_locked and receiver.bufferlen() >= buffersize then 708 if not sender_locked and receiver.bufferlen() >= buffersize then
709 sender_locked = true; 709 sender_locked = true;
710 sender:lock_read(true); 710 sender:lock_read(true);
711 end 711 end
712 end 712 end
713 sender:set_mode("*a");
713 end 714 end
714 715
715 ----------------------------------// PUBLIC //-- 716 ----------------------------------// PUBLIC //--
716 717
717 addserver = function( addr, port, listeners, pattern, sslctx ) -- this function provides a way for other scripts to reg a server 718 addserver = function( addr, port, listeners, pattern, sslctx ) -- this function provides a way for other scripts to reg a server