P2p first version

This commit is contained in:
刘河
2019-02-26 22:40:28 +08:00
parent 204c53ddd3
commit 534d428c6d
23 changed files with 986 additions and 77 deletions

View File

@@ -150,7 +150,7 @@ func (s *httpServer) process(c *conn.Conn, r *http.Request) {
logs.Notice(err)
break
}
lk.Run(true)
lk.RunWrite()
isConn = false
} else {
r, err = http.ReadRequest(bufio.NewReader(c))