forked from quic-go/quic-go
pack packets into large buffers when GSO is available
This commit is contained in:
@@ -24,7 +24,7 @@ var _ = Describe("Connection (for sending packets)", func() {
|
||||
|
||||
It("writes", func() {
|
||||
packetConn.EXPECT().WriteTo([]byte("foobar"), addr)
|
||||
Expect(c.Write([]byte("foobar"))).To(Succeed())
|
||||
Expect(c.Write([]byte("foobar"), 6)).To(Succeed())
|
||||
})
|
||||
|
||||
It("gets the remote address", func() {
|
||||
|
||||
Reference in New Issue
Block a user