Commit 45ae4ff3 authored by alexstocks's avatar alexstocks

modify readme

parent 36ec376d
...@@ -12,7 +12,15 @@ ...@@ -12,7 +12,15 @@
- 2016/08/29 - 2016/08/29
> 1 rename reconnect to errFlag in function session.go:(Session)handlePackage > 1 rename reconnect to errFlag in function session.go:(Session)handlePackage
> >
> 2 version: 0.2.07 > 2 session.go:(gettyConn)readCount is reconsidered as read in tcp stream bytes
>
> 3 session.go:(gettyConn)writeCount is reconsidered as write out tcp stream bytes
>
> 4 reconstruct session output token string session.go:(Session)sessionToken
>
> 5 use err instead of nerr in session.go:(Session)handlePackage:defer:OnError
>
> 6 version: 0.2.07
- 2016/08/25 - 2016/08/25
> 1 move close done to once clause in server.go:(Server)stop > 1 move close done to once clause in server.go:(Server)stop
......
...@@ -427,7 +427,7 @@ func (this *Session) handlePackage() { ...@@ -427,7 +427,7 @@ func (this *Session) handlePackage() {
log.Info("%s, [session.handlePackage] gr will exit now, left gr num %d", this.sessionToken(), grNum) log.Info("%s, [session.handlePackage] gr will exit now, left gr num %d", this.sessionToken(), grNum)
if errFlag && this.listener != nil { if errFlag && this.listener != nil {
log.Info("%s, [session.handlePackage] errFlag", this.sessionToken()) log.Info("%s, [session.handlePackage] errFlag", this.sessionToken())
this.listener.OnError(this, nerr) this.listener.OnError(this, err)
} }
}() }()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment