Fix and refactoring of some procedures which are able to return nil as result (#97)
* Fix do not return nil as result. * Fix mplex test to properly raise.
This commit is contained in:
parent
c3e791db0d
commit
d1c6591b8a
|
@ -20,7 +20,9 @@ import secureconn,
|
||||||
type
|
type
|
||||||
Secure* = ref object of LPProtocol # base type for secure managers
|
Secure* = ref object of LPProtocol # base type for secure managers
|
||||||
|
|
||||||
method handshake(s: Secure, conn: Connection, initiator: bool = true): Future[SecureConn] {.async, base.} =
|
method handshake(s: Secure,
|
||||||
|
conn: Connection,
|
||||||
|
initiator: bool = true): Future[SecureConn] {.async, base.} =
|
||||||
doAssert(false, "Not implemented!")
|
doAssert(false, "Not implemented!")
|
||||||
|
|
||||||
proc readLoop(sconn: SecureConn, stream: BufferStream) {.async.} =
|
proc readLoop(sconn: SecureConn, stream: BufferStream) {.async.} =
|
||||||
|
|
Loading…
Reference in New Issue