resolve closer stuff
This commit is contained in:
parent
fb352512ec
commit
7314c79fc4
2 changed files with 4 additions and 3 deletions
|
@ -77,9 +77,9 @@ func (c Conn) Keys() (sam3.I2PKeys, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m Conn) Cleanup() error {
|
func (m Conn) Cleanup() error {
|
||||||
if err := m.SAMConn.Close(); err != nil {
|
//if err := m.SAMConn.Close(); err != nil {
|
||||||
return err
|
//return err
|
||||||
}
|
//}
|
||||||
//if err := m.StreamSession.Close(); err != nil {
|
//if err := m.StreamSession.Close(); err != nil {
|
||||||
//return err
|
//return err
|
||||||
//}
|
//}
|
||||||
|
|
|
@ -94,6 +94,7 @@ func NewManagerFromOptions(opts ...func(*Manager) error) (*Manager, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Println("preparing SAM-multiplexing SOCKS proxy on", m.host, m.port, "->" m.samhost, m.samport)
|
||||||
var err error
|
var err error
|
||||||
m.SAM, err = sam3.NewSAM(m.samhost + ":" + m.samport)
|
m.SAM, err = sam3.NewSAM(m.samhost + ":" + m.samport)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue