@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project>
@@ -61,7 +61,7 @@ func (c *Client) SendLoop() {
glog.Error("接收指令超时")
break
default:
- receiveBuf, err := c.conn.Recv(-1)
+ receiveBuf, err := c.conn.Recv(0)
if err != nil {
c.readError(err)