forked from External/ergo
fix race in idle timeout; fix some string trimming; fix some replies
This commit is contained in:
parent
1a7f56a903
commit
bd3ca4ae47
4 changed files with 20 additions and 5 deletions
|
|
@ -59,7 +59,7 @@ func (socket *Socket) readLines() {
|
|||
break
|
||||
}
|
||||
|
||||
line = strings.TrimSpace(line)
|
||||
line = strings.TrimRight(line, "\r\n")
|
||||
if len(line) == 0 {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue