Skip to content

Commit

Permalink
add for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
annulsluo committed Oct 30, 2019
1 parent de1ad02 commit c60f53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewSession(sock net.Conn, config *Config) *Session {
c.ReaderTimeout = config.SessionRecvTimeout.Duration()
c.WriterTimeout = config.SessionSendTimeout.Duration()
c.SetKeepAlivePeriod(config.SessionKeepAlivePeriod.Duration())

// 创建session,但这个函数在哪里呢,有三个参数
s := &Session{
Conn: c, config: config,
CreateUnix: time.Now().Unix(),
Expand Down

0 comments on commit c60f53e

Please sign in to comment.