Skip to content

Commit 8d1e81f

Browse files
authored
Merge pull request #9 from 9iksans/master
fix - remove close connection on error connection bug
2 parents 66887e1 + c41040c commit 8d1e81f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stash.go

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ func SetProtocolConn(protocol string) Option {
105105
func (s *Stash) dial(address string) error {
106106
conn, err := s.o.dialer.Dial(s.o.protocol, address)
107107
if err != nil {
108-
conn.Close()
109108
return err
110109
}
111110

0 commit comments

Comments
 (0)