mirror of https://github.com/schollz/croc.git
block connection
This commit is contained in:
parent
d1780e70b7
commit
a35779f718
|
@ -132,6 +132,7 @@ func New(ops Options) (c *Client, err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Debugf("connection established: %+v", c.conn[0])
|
log.Debugf("connection established: %+v", c.conn[0])
|
||||||
|
fmt.Println(c.conn[0].Receive())
|
||||||
|
|
||||||
// use default key (no encryption, until PAKE succeeds)
|
// use default key (no encryption, until PAKE succeeds)
|
||||||
c.Key, err = crypt.New(nil, nil)
|
c.Key, err = crypt.New(nil, nil)
|
||||||
|
|
Loading…
Reference in New Issue