Skip to content

Commit

Permalink
Merge branch 'develop' into fix/dialer-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
zjbpaul1317 authored Dec 16, 2024
2 parents 4161365 + d423b42 commit 0dd4e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connection_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ var barrierPool = sync.Pool{
},
}

// init initialize the connection with options
// init initializes the connection with options
func (c *connection) init(conn Conn, opts *options) (err error) {
// init buffer, barrier, finalizer
c.readTrigger = make(chan error, 1)
Expand Down Expand Up @@ -478,7 +478,7 @@ RET:
return err
}

// flush write data directly.
// flush writes data directly.
func (c *connection) flush() error {
if c.outputBuffer.IsEmpty() {
return nil
Expand Down

0 comments on commit 0dd4e66

Please sign in to comment.