mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-04-04 22:17:33 +00:00
Don't double send non-important packets
This commit is contained in:
parent
bbddf769b0
commit
efd81c9568
2 changed files with 0 additions and 6 deletions
|
|
@ -105,9 +105,6 @@ func (s *controlStream) sendPkt0() error {
|
|||
if err := s.common.send(p); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := s.common.send(p); err != nil {
|
||||
return err
|
||||
}
|
||||
s.authSendSeq++
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
3
pkt7.go
3
pkt7.go
|
|
@ -94,9 +94,6 @@ func (p *pkt7Type) sendDo(s *streamCommon, replyID []byte, seq uint16) error {
|
|||
if err := s.send(d); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := s.send(d); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue