Maxime Petazzoni

Results 44 comments of Maxime Petazzoni

Hi folks, Thanks for the work on this. What's the current status? What combination of extensions/code do I need to make #187 work?

Running `rubocop -a` finds close to 200 offenses over the whole source tree. `rubocop --auto-gen-config` finds about 675. Both somehow modify a bunch of files in the source tree. Am...

Thanks @dblock and @JagdeepSingh, appreciated. Unfortunately I don't know enough about Rails and Mongoid to fix this myself; there's way too much magic going on and I couldn't figure out...

Do you mean that it suddenly stops receiving any messages? Do you have dumps of the event stream sent by server? Is it possible that the client "chokes" on a...

The client doesn't automatically reconnect because that's not necessarily the behavior that the user wants. If you want that behavior, you can detect when the `client.events()` generator stops returning messages,...

If the connection is severed, the `client.events()` generator stops and your loop would exit. Basic pattern would be something like this (in terrible pseudo-code): ```python while not really_done_with_it: client =...

It could. Would you be willing to take a crack at it and send a PR?

@8633brown If you can reproduce the problem every time it would be great if you could get a tcpdump/pcap capture while this happens. I'm curious if any data is received...

I'm not sure I understand why this is necessary. Internally, `sseclient` iterates over the event source with a simple loop (https://github.com/mpetazzoni/sseclient/blob/master/sseclient/__init__.py#L48): ```python for chunk in self._event_source: # ... ``` This...