mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
rename NewAckList
This commit is contained in:
parent
a1af9ea839
commit
6416c42bee
@ -155,7 +155,7 @@ type AckList struct {
|
||||
nextFlush []uint32
|
||||
}
|
||||
|
||||
func NewACKList(writer SegmentWriter) *AckList {
|
||||
func NewAckList(writer SegmentWriter) *AckList {
|
||||
return &AckList{
|
||||
writer: writer,
|
||||
timestamps: make([]uint32, 0, 32),
|
||||
@ -234,7 +234,7 @@ func NewReceivingWorker(kcp *KCP) *ReceivingWorker {
|
||||
window: NewReceivingWindow(windowSize),
|
||||
windowSize: windowSize,
|
||||
}
|
||||
worker.acklist = NewACKList(worker)
|
||||
worker.acklist = NewAckList(worker)
|
||||
return worker
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user