japronto
japronto copied to clipboard
Cannot use await with pipelining
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!
Ups, that's definitely a segmentation fault.