mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
parent
3dc50821d6
commit
7a97f34fac
15 changed files with 71 additions and 39 deletions
|
@ -25,10 +25,10 @@ func (s *mockSession) handlePacket(addr interface{}, hdr *publicHeader, data []b
|
|||
func (s *mockSession) run() {
|
||||
}
|
||||
|
||||
func newMockSession(conn connection, v protocol.VersionNumber, connectionID protocol.ConnectionID, sCfg *handshake.ServerConfig, streamCallback StreamCallback, closeCallback closeCallback) packetHandler {
|
||||
func newMockSession(conn connection, v protocol.VersionNumber, connectionID protocol.ConnectionID, sCfg *handshake.ServerConfig, streamCallback StreamCallback, closeCallback closeCallback) (packetHandler, error) {
|
||||
return &mockSession{
|
||||
connectionID: connectionID,
|
||||
}
|
||||
}, nil
|
||||
}
|
||||
|
||||
var _ = Describe("Server", func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue