japronto icon indicating copy to clipboard operation
japronto copied to clipboard

Cannot use await with pipelining

Open channelcat opened this issue 9 years ago • 1 comments

Using japronto 0.1, this will produce and error when running tests utilizing pipelining:

from japronto import Application

async def test():
    return

async def hello(request):
    await test()
    return request.Response(text='Hello world!')

app = Application()
app.router.add_route('/', hello)
app.run(host='0.0.0.0', port=80)
Worker excited with code -11!

channelcat avatar Feb 01 '17 11:02 channelcat

Ups, that's definitely a segmentation fault.

squeaky-pl avatar Feb 01 '17 12:02 squeaky-pl