mirror of
https://github.com/django/daphne.git
synced 2025-07-14 09:52:17 +03:00
Merge d9f10e3618
into 6eeb280e1b
This commit is contained in:
commit
d26cafc698
|
@ -117,6 +117,9 @@ class WebRequest(http.Request):
|
||||||
data += self.content.read()
|
data += self.content.read()
|
||||||
protocol.dataReceived(data)
|
protocol.dataReceived(data)
|
||||||
# Remove our HTTP reply channel association
|
# Remove our HTTP reply channel association
|
||||||
|
# FIXME: Something wrong is happening here.
|
||||||
|
# http protocol won't remove after upgrade to protocol websocket,
|
||||||
|
# which results to http timeout and disconnect websocket.
|
||||||
logger.debug("Upgraded connection %s to WebSocket", self.client_addr)
|
logger.debug("Upgraded connection %s to WebSocket", self.client_addr)
|
||||||
# Resume the producer so we keep getting data, if it's available as a method
|
# Resume the producer so we keep getting data, if it's available as a method
|
||||||
self.channel._networkProducer.resumeProducing()
|
self.channel._networkProducer.resumeProducing()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user