mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
update state
This commit is contained in:
parent
e5d9ac5e5c
commit
8a7c184bfc
1 changed files with 2 additions and 0 deletions
|
@ -1999,6 +1999,7 @@ func (c *Client) receiveData(i int) {
|
||||||
log.Trace("sending close-sender")
|
log.Trace("sending close-sender")
|
||||||
c.Step4FileTransferred = false
|
c.Step4FileTransferred = false
|
||||||
c.Step3RecipientRequestFile = false
|
c.Step3RecipientRequestFile = false
|
||||||
|
c.updateState()
|
||||||
// err = message.Send(c.conn[0], c.Key, message.Message{
|
// err = message.Send(c.conn[0], c.Key, message.Message{
|
||||||
// Type: message.TypeCloseSender,
|
// Type: message.TypeCloseSender,
|
||||||
// })
|
// })
|
||||||
|
@ -2022,6 +2023,7 @@ func (c *Client) sendData(i int) {
|
||||||
c.bar.Finish()
|
c.bar.Finish()
|
||||||
c.Step4FileTransferred = false
|
c.Step4FileTransferred = false
|
||||||
c.Step3RecipientRequestFile = false
|
c.Step3RecipientRequestFile = false
|
||||||
|
c.updateState()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue