resolve closer stuff

This commit is contained in:
idk 2018-12-25 05:12:08 -05:00
parent fb352512ec
commit 7314c79fc4
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1
2 changed files with 4 additions and 3 deletions

View file

@ -77,9 +77,9 @@ func (c Conn) Keys() (sam3.I2PKeys, error) {
}
func (m Conn) Cleanup() error {
if err := m.SAMConn.Close(); err != nil {
return err
}
//if err := m.SAMConn.Close(); err != nil {
//return err
//}
//if err := m.StreamSession.Close(); err != nil {
//return err
//}

View file

@ -94,6 +94,7 @@ func NewManagerFromOptions(opts ...func(*Manager) error) (*Manager, error) {
return nil, err
}
}
log.Println("preparing SAM-multiplexing SOCKS proxy on", m.host, m.port, "->" m.samhost, m.samport)
var err error
m.SAM, err = sam3.NewSAM(m.samhost + ":" + m.samport)
if err != nil {