Re: [sunshowers] Fwd: dropping WebSockets support (for now)
- From:
- Makoto Inoue
- Date:
- 2011-01-13 @ 18:06
On Thu, Jan 13, 2011 at 5:51 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Fyi, I posted this to the Rainbows! mailing list:
>
> http://mid.gmane.org/20110113174914.GA23913@dcvr.yhbt.net
>
> Please reply either here or there.
>
> Eric Wong <normalperson@yhbt.net> wrote:
> > Would anybody be terribly harmed if the Sunshowers/Cramp WebSockets
> > support were dropped from Rainbows!?
> >
> > Currently our support is terribly out-of-date and unless there's
> > somebody willing to maintain it through the protocol changes, it's not
> > worth my time to maintain it before more users want it.
> >
> > I myself barely use JavaScript nor do I enjoy using web browsers,
> > so it's really difficult for me to support without more consistent
> > command-line tools like curl.
> >
> > --
> > Eric Wong
>
Hi, Eric.
I have tried Sunshowers a while back, but don't use it now, so I am fine.
FYI, when you decide to support WebSocket, these may help you as they should
be able to work as Ruby web-socket client(no browser!!).
https://github.com/gimite/web-socket-ruby
https://github.com/imanel/libwebsocket
# This is python, but Google chrome team uses it for testing purpose, so it
is going stay up to date with the protocol.
http://code.google.com/p/pywebsocket/source/browse/trunk/src/example/echo_client.py?r=387
Thank you for your good work!!
Makoto
Re: [sunshowers] Fwd: dropping WebSockets support (for now)
- From:
- Eric Wong
- Date:
- 2011-01-13 @ 18:13
Makoto Inoue <inouemak@googlemail.com> wrote:
> Hi, Eric.
> I have tried Sunshowers a while back, but don't use it now, so I am fine.
Thanks for the response and links!
> FYI, when you decide to support WebSocket, these may help you as they should
> be able to work as Ruby web-socket client(no browser!!).
>
> https://github.com/gimite/web-socket-ruby
> https://github.com/imanel/libwebsocket
>
> # This is python, but Google chrome team uses it for testing purpose, so it
> is going stay up to date with the protocol.
>
http://code.google.com/p/pywebsocket/source/browse/trunk/src/example/echo_client.py?r=387
>
> Thank you for your good work!!
No problem! I look forward to supporting it when people actually
use/need WebSockets. But right now it just doesn't make sense to
support without help from Rack. Rainbows! itself has been going very
well with HTTP-only support.
--
Eric Wong
Re: [sunshowers] Fwd: dropping WebSockets support (for now)
- From:
- Nathan Sobo
- Date:
- 2011-01-13 @ 18:15
Hi Eric. It's a bit sad because I want to switch to WebSockets soon from
Cramp-based long polling, but I understand if it's becoming a burden to
maintain. Maybe instead I can use em-websocket in the same process and just
forward WebSocket requests to a different port through Nginx.
On Thu, Jan 13, 2011 at 9:51 AM, Eric Wong <normalperson@yhbt.net> wrote:
> Fyi, I posted this to the Rainbows! mailing list:
>
> http://mid.gmane.org/20110113174914.GA23913@dcvr.yhbt.net
>
> Please reply either here or there.
>
> Eric Wong <normalperson@yhbt.net> wrote:
> > Would anybody be terribly harmed if the Sunshowers/Cramp WebSockets
> > support were dropped from Rainbows!?
> >
> > Currently our support is terribly out-of-date and unless there's
> > somebody willing to maintain it through the protocol changes, it's not
> > worth my time to maintain it before more users want it.
> >
> > I myself barely use JavaScript nor do I enjoy using web browsers,
> > so it's really difficult for me to support without more consistent
> > command-line tools like curl.
> >
> > --
> > Eric Wong
>
Re: [sunshowers] Fwd: dropping WebSockets support (for now)
- From:
- Eric Wong
- Date:
- 2011-01-13 @ 20:07
Nathan Sobo <nathansobo@gmail.com> wrote:
> Hi Eric. It's a bit sad because I want to switch to WebSockets soon from
> Cramp-based long polling, but I understand if it's becoming a burden to
> maintain. Maybe instead I can use em-websocket in the same process and just
> forward WebSocket requests to a different port through Nginx.
Maybe Cramp may still be able to support WebSockets through Rainbows!
since there are some commits that appear to update support for protocol
updates (but no recent gem releases for end users).
I'm not sure what the outlook is for Cramp since it doesn't look like
Pratik has had time for it in a while.
> On Thu, Jan 13, 2011 at 9:51 AM, Eric Wong <normalperson@yhbt.net> wrote:
>
> > Fyi, I posted this to the Rainbows! mailing list:
> >
> > http://mid.gmane.org/20110113174914.GA23913@dcvr.yhbt.net
> >
> > Please reply either here or there.
> >
> > Eric Wong <normalperson@yhbt.net> wrote:
> > > Would anybody be terribly harmed if the Sunshowers/Cramp WebSockets
> > > support were dropped from Rainbows!?
> > >
> > > Currently our support is terribly out-of-date and unless there's
> > > somebody willing to maintain it through the protocol changes, it's not
> > > worth my time to maintain it before more users want it.
> > >
> > > I myself barely use JavaScript nor do I enjoy using web browsers,
> > > so it's really difficult for me to support without more consistent
> > > command-line tools like curl.
> > >
> > > --
> > > Eric Wong