Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
getty
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wei.xuan
getty
Commits
45ae4ff3
Commit
45ae4ff3
authored
Aug 29, 2016
by
alexstocks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify readme
parent
36ec376d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
README.md
README.md
+9
-1
session.go
session.go
+1
-1
No files found.
README.md
View file @
45ae4ff3
...
@@ -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
...
...
session.go
View file @
45ae4ff3
...
@@ -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
,
n
err
)
this
.
listener
.
OnError
(
this
,
err
)
}
}
}()
}()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment