blob: 1bad65b74c6b65208d65dc09a1ec299937cbaac0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- aioh2/protocol.py.orig 2017-12-03 09:08:55 UTC
+++ aioh2/protocol.py
@@ -380,7 +380,7 @@ class H2Protocol(asyncio.Protocol):
if self._handler:
raise Exception('Handler was already set')
if handler:
- self._handler = asyncio.async(handler, loop=self._loop)
+ self._handler = async_task(handler, loop=self._loop)
def close_connection(self):
self._transport.close()
|