mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
use a single constructor for SentPacketHandler and ReceivedPacketHandler
This commit is contained in:
parent
e9cdb29ef9
commit
f317a471bb
6 changed files with 45 additions and 10 deletions
|
@ -16,7 +16,7 @@ var _ = Describe("Received Packet Handler", func() {
|
|||
var handler ReceivedPacketHandler
|
||||
|
||||
BeforeEach(func() {
|
||||
handler = NewReceivedPacketHandler(
|
||||
handler = newReceivedPacketHandler(
|
||||
&congestion.RTTStats{},
|
||||
utils.DefaultLogger,
|
||||
protocol.VersionWhatever,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue