Fix TwoPartyServer to handle more than one client at a time. Fixes #23
Also fix various memleaks in RpcServer/Client
This commit is contained in:
@@ -5,7 +5,7 @@ cdef extern from "../helpers/checkCompiler.h":
|
||||
pass
|
||||
|
||||
from schema_cpp cimport Node, Data, StructNode, EnumNode, InterfaceNode, MessageBuilder, MessageReader
|
||||
from .capnp.helpers.non_circular cimport PythonInterfaceDynamicImpl, reraise_kj_exception, PyRefCounter, PyRestorer, PyEventPort
|
||||
from .capnp.helpers.non_circular cimport PythonInterfaceDynamicImpl, reraise_kj_exception, PyRefCounter, PyRestorer, PyEventPort, ErrorHandler
|
||||
from .capnp.includes.types cimport *
|
||||
|
||||
cdef extern from "capnp/common.h" namespace " ::capnp":
|
||||
@@ -108,6 +108,9 @@ cdef extern from "kj/async-io.h" namespace " ::kj":
|
||||
Own[AsyncIoProvider] provider
|
||||
WaitScope waitScope
|
||||
|
||||
cdef cppclass TaskSet:
|
||||
TaskSet(ErrorHandler &)
|
||||
|
||||
AsyncIoContext setupAsyncIo()
|
||||
|
||||
cdef extern from "capnp/schema.h" namespace " ::capnp":
|
||||
|
||||
Reference in New Issue
Block a user