Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xgress/xgress.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type AckSender interface {

type OptionsData map[interface{}]interface{}

// The BindHandlers are invoked to install the appropriate handlers.
// BindHandler is an interface invoked to install the appropriate handlers.
type BindHandler interface {
HandleXgressBind(x *Xgress)
}
Expand Down Expand Up @@ -923,7 +923,7 @@ func (self *Xgress) SendEmptyAck() {
func (self *Xgress) GetSequence() uint64 {
self.rxSequenceLock.Lock()
defer self.rxSequenceLock.Unlock()
return uint64(self.rxSequence)
return self.rxSequence
}

func (self *Xgress) getLastBufferSizeSent() uint32 {
Expand Down
8 changes: 4 additions & 4 deletions ziti/edge/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ package edge

import (
"fmt"
"github.com/openziti/edge-api/rest_model"
"github.com/openziti/foundation/v2/concurrenz"
"github.com/openziti/sdk-golang/xgress"
"github.com/openziti/secretstream/kx"
"io"
"net"
"os"
Expand All @@ -31,7 +27,11 @@ import (
"github.com/google/uuid"
"github.com/michaelquigley/pfxlog"
"github.com/openziti/channel/v4"
"github.com/openziti/edge-api/rest_model"
"github.com/openziti/foundation/v2/concurrenz"
"github.com/openziti/foundation/v2/sequence"
"github.com/openziti/sdk-golang/xgress"
"github.com/openziti/secretstream/kx"
)

const (
Expand Down
Loading
Loading