We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a385c commit c326112Copy full SHA for c326112
1 file changed
core/web.py
@@ -11,7 +11,6 @@
11
import tianxiu2b2t.anyio.streams.proxy as streams_proxy
12
from tianxiu2b2t.anyio import concurrency
13
from tianxiu2b2t.utils import runtime
14
-from tianxiu2b2t.http.asgi import ASGIApplicationBridge
15
16
from . import utils, abc
17
from .logger import logger
@@ -132,13 +131,9 @@ async def serve(
132
131
):
133
async with listener:
134
logger.tinfo("web.forward.pub_port", port=pub_port)
135
- if not cfg.bridge_web_application:
136
- await listener.serve(pub_handler)
137
- return
138
- await ASGIApplicationBridge(
139
- app,
140
- listener,
141
- ).serve()
+ #if not cfg.bridge_web_application:
+ await listener.serve(pub_handler)
+ #return
142
143
async def pub_handler(
144
sock: streams.BufferedByteStream,
0 commit comments