Comparison

net/server_epoll.lua @ 7574:97b8506118a9

net.server_epoll: Fix missing quotes in logging call
author Kim Alvefur <zash@zash.se>
date Thu, 18 Aug 2016 02:30:49 +0200
parent 7573:0f0a6febbc5a
child 7583:0498daffa6f0
comparison
equal deleted inserted replaced
7573:0f0a6febbc5a 7574:97b8506118a9
397 end 397 end
398 398
399 function interface:onacceptable() 399 function interface:onacceptable()
400 local conn, err = self.conn:accept(); 400 local conn, err = self.conn:accept();
401 if not conn then 401 if not conn then
402 log(debug, "Error accepting new client: %s, server will be paused for %ds", err, cfg.accept_retry_interval); 402 log("debug", "Error accepting new client: %s, server will be paused for %ds", err, cfg.accept_retry_interval);
403 self:pausefor(cfg.accept_retry_interval); 403 self:pausefor(cfg.accept_retry_interval);
404 return; 404 return;
405 end 405 end
406 local client = wrapsocket(conn, self, nil, self.listeners, self.tls); 406 local client = wrapsocket(conn, self, nil, self.listeners, self.tls);
407 if self.tls then 407 if self.tls then