mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
block connection
This commit is contained in:
parent
d1780e70b7
commit
a35779f718
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue