equal
deleted
inserted
replaced
403 if partial and partial ~= "" then |
403 if partial and partial ~= "" then |
404 self:onconnect(); |
404 self:onconnect(); |
405 self:onincoming(partial, err); |
405 self:onincoming(partial, err); |
406 end |
406 end |
407 if err ~= "timeout" then |
407 if err ~= "timeout" then |
|
408 if err == "closed" then |
|
409 self:debug("Connection closed by remote"); |
|
410 else |
|
411 self:debug("Read error, closing (%s)", err); |
|
412 end |
408 self:on("disconnect", err); |
413 self:on("disconnect", err); |
409 self:destroy() |
414 self:destroy() |
410 return; |
415 return; |
411 end |
416 end |
412 end |
417 end |