Re: Changing how Channels/ASGI receives messages

2017-03-28 Thread Oskar Hahn
Hi, I am not sure, if I understand your proposal correctly. Do you mean, the asgi server has to listen only to one channel or do you mean it has to listen to one channel of any channel-type? So with redis, do I have to call "BLPOP LOCALID TIMEOUT" or do I have to call "BLPOP http.response.PROC

Re: How Channels and Daphne handle huge HTTP requests?

2017-03-23 Thread Oskar Hahn
Hi Alexander, if you need an asgi-server, that currently supports body_channel, then you can use https://github.com/ostcar/geiss Oskar Am 19.03.2017 um 19:15 schrieb Andrew Godwin: > Hi Alexander, > > I believe Daphne does not yet implement body_channel support for large > HTTP requests, just

Re: Django Channel asgi specs - question on how to handle a websocket connection

2017-01-03 Thread Oskar Hahn
Thanks. I updated my code accordingly. But I open the websocket connection after one second if the python application does not send an Send/Close/Accept message. In other case the software would not be compatible with the examples in https://github.com/andrewgodwin/channels-examples I uploaded th

Django Channel asgi specs - question on how to handle a websocket connection

2017-01-02 Thread Oskar Hahn
Hi, this is a question on how to interpret the asgi specs of django channels: https://channels.readthedocs.io/en/latest/asgi.html If this is the wrong place to discuss it, then please point me to the right place. I used some free time to learn the language "go" and tried to write a protocol ser