librelist archives

« back to archive

Websocket finally as RFC

Websocket finally as RFC

From:
Loic d'Anterroches
Date:
2011-12-12 @ 07:12
Hello,

it looks like we have something stable to base our work on with respect
to websockets.

http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
http://www.rfc-editor.org/rfc/rfc6455.txt

This means I can start to work on the support in my framework too and
start to wait a long time before I can use it in production for
corporate userse :D

loïc

--
Indefero - Project management and code hosting - http://www.indefero.net
Photon - High Performance PHP Framework - http://photon-project.com
Céondo Ltd - Web + Science = Fun - http://www.ceondo.com

Re: [mongrel2] Websocket finally as RFC

From:
michael j pan
Date:
2011-12-12 @ 07:39
This is great news.  I started looking for websockets in mongrel2 this
past weekend, and it seems that the initial implementation was
removed.  Any idea when an implementation might be released?

Thanks
Mike

On Mon, Dec 12, 2011 at 15:12, Loic d'Anterroches <loic@ceondo.com> wrote:
> Hello,
>
> it looks like we have something stable to base our work on with respect
> to websockets.
>
> http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
> http://www.rfc-editor.org/rfc/rfc6455.txt
>
> This means I can start to work on the support in my framework too and
> start to wait a long time before I can use it in production for
> corporate userse :D
>
> loïc
>
> --
> Indefero - Project management and code hosting - http://www.indefero.net
> Photon - High Performance PHP Framework - http://photon-project.com
> Céondo Ltd - Web + Science = Fun - http://www.ceondo.com

Re: [mongrel2] Websocket finally as RFC

From:
Loic d'Anterroches
Date:
2011-12-12 @ 07:43

On 2011-12-12 08:39, michael j pan wrote:
> This is great news.  I started looking for websockets in mongrel2 this
> past weekend, and it seems that the initial implementation was
> removed.  Any idea when an implementation might be released?

Take a look at the develop branch. I lot of work has been done there
while Zed was away to work on his books. It may be available again there
(but I am not sure).

loïc

> On Mon, Dec 12, 2011 at 15:12, Loic d'Anterroches <loic@ceondo.com> wrote:
>> Hello,
>>
>> it looks like we have something stable to base our work on with respect
>> to websockets.
>>
>> http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
>> http://www.rfc-editor.org/rfc/rfc6455.txt
>>
>> This means I can start to work on the support in my framework too and
>> start to wait a long time before I can use it in production for
>> corporate userse :D
>>
>> loïc
>>
>> --
>> Indefero - Project management and code hosting - http://www.indefero.net
>> Photon - High Performance PHP Framework - http://photon-project.com
>> Céondo Ltd - Web + Science = Fun - http://www.ceondo.com

-- 
Dr Loïc d'Anterroches
Founder Céondo Ltd

w: www.ceondo.com       |  e: loic@ceondo.com
t: +44 (0)207 183 0016  |  f: +44 (0)207 183 0124

Céondo Ltd
Dalton House
60 Windsor Avenue
London
SW19 2RR / United Kingdom

Re: [mongrel2] Websocket finally as RFC

From:
Xavier Lange
Date:
2011-12-12 @ 20:31
The develop branch does indeed work for websockets. The actual
handshake/negotation must be done in the handler but mongrel2 plays nice
and does not mangle the request.

If you want to try out websockets in C code please take a look at my
libm2handler project on github: https://github.com/xrl/libm2handler . There
are some sample handlers and test pages to go with it.

Xavier

On Sun, Dec 11, 2011 at 11:43 PM, Loic d'Anterroches <loic@ceondo.com>wrote:

>
>
> On 2011-12-12 08:39, michael j pan wrote:
> > This is great news.  I started looking for websockets in mongrel2 this
> > past weekend, and it seems that the initial implementation was
> > removed.  Any idea when an implementation might be released?
>
> Take a look at the develop branch. I lot of work has been done there
> while Zed was away to work on his books. It may be available again there
> (but I am not sure).
>
> loïc
>
> > On Mon, Dec 12, 2011 at 15:12, Loic d'Anterroches <loic@ceondo.com>
> wrote:
> >> Hello,
> >>
> >> it looks like we have something stable to base our work on with respect
> >> to websockets.
> >>
> >>
> http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
> >> http://www.rfc-editor.org/rfc/rfc6455.txt
> >>
> >> This means I can start to work on the support in my framework too and
> >> start to wait a long time before I can use it in production for
> >> corporate userse :D
> >>
> >> loïc
> >>
> >> --
> >> Indefero - Project management and code hosting -
> http://www.indefero.net
> >> Photon - High Performance PHP Framework - http://photon-project.com
> >> Céondo Ltd - Web + Science = Fun - http://www.ceondo.com
>
> --
> Dr Loïc d'Anterroches
> Founder Céondo Ltd
>
> w: www.ceondo.com       |  e: loic@ceondo.com
> t: +44 (0)207 183 0016  |  f: +44 (0)207 183 0124
>
> Céondo Ltd
> Dalton House
> 60 Windsor Avenue
> London
> SW19 2RR / United Kingdom
>

Re: [mongrel2] Websocket finally as RFC

From:
Jason Miller
Date:
2011-12-12 @ 23:01
I wrote the support that is in the develop branch.  Let me know if you
have any issues with it.  Some have suggested I pre-calculate the
handshake for languages without good crypto support.  Any comments on
that?

-Jason

On Mon, 12 Dec 2011 12:31:26 -0800
Xavier Lange <xrlange@gmail.com> wrote:

> The develop branch does indeed work for websockets. The actual
> handshake/negotation must be done in the handler but mongrel2 plays
> nice and does not mangle the request.
> 
> If you want to try out websockets in C code please take a look at my
> libm2handler project on github: https://github.com/xrl/libm2handler .
> There are some sample handlers and test pages to go with it.
> 
> Xavier
> 
> On Sun, Dec 11, 2011 at 11:43 PM, Loic d'Anterroches
> <loic@ceondo.com>wrote:
> 
> >
> >
> > On 2011-12-12 08:39, michael j pan wrote:
> > > This is great news.  I started looking for websockets in mongrel2
> > > this past weekend, and it seems that the initial implementation
> > > was removed.  Any idea when an implementation might be released?
> >
> > Take a look at the develop branch. I lot of work has been done there
> > while Zed was away to work on his books. It may be available again
> > there (but I am not sure).
> >
> > loïc
> >
> > > On Mon, Dec 12, 2011 at 15:12, Loic d'Anterroches
> > > <loic@ceondo.com>
> > wrote:
> > >> Hello,
> > >>
> > >> it looks like we have something stable to base our work on with
> > >> respect to websockets.
> > >>
> > >>
> > http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
> > >> http://www.rfc-editor.org/rfc/rfc6455.txt
> > >>
> > >> This means I can start to work on the support in my framework
> > >> too and start to wait a long time before I can use it in
> > >> production for corporate userse :D
> > >>
> > >> loïc
> > >>
> > >> --
> > >> Indefero - Project management and code hosting -
> > http://www.indefero.net
> > >> Photon - High Performance PHP Framework -
> > >> http://photon-project.com Céondo Ltd - Web + Science = Fun -
> > >> http://www.ceondo.com
> >
> > --
> > Dr Loïc d'Anterroches
> > Founder Céondo Ltd
> >
> > w: www.ceondo.com       |  e: loic@ceondo.com
> > t: +44 (0)207 183 0016  |  f: +44 (0)207 183 0124
> >
> > Céondo Ltd
> > Dalton House
> > 60 Windsor Avenue
> > London
> > SW19 2RR / United Kingdom
> >

Re: [mongrel2] Websocket finally as RFC

From:
michael j pan
Date:
2011-12-21 @ 12:47
Apologies for the late response.  I'm just now getting to looking at
the websockets implementation in the develop branch.
I think that it would be good for the ws bits of mongrel2 to handle
the server response of the handshake, so that the handlers don't have
to be aware that the zmq messages are actually running through a
websockets connection

Mike

On Tue, Dec 13, 2011 at 07:01, Jason Miller <jason@milr.com> wrote:
> I wrote the support that is in the develop branch.  Let me know if you
> have any issues with it.  Some have suggested I pre-calculate the
> handshake for languages without good crypto support.  Any comments on
> that?
>
> -Jason
>
> On Mon, 12 Dec 2011 12:31:26 -0800
> Xavier Lange <xrlange@gmail.com> wrote:
>
>> The develop branch does indeed work for websockets. The actual
>> handshake/negotation must be done in the handler but mongrel2 plays
>> nice and does not mangle the request.
>>
>> If you want to try out websockets in C code please take a look at my
>> libm2handler project on github: https://github.com/xrl/libm2handler .
>> There are some sample handlers and test pages to go with it.
>>
>> Xavier
>>
>> On Sun, Dec 11, 2011 at 11:43 PM, Loic d'Anterroches
>> <loic@ceondo.com>wrote:
>>
>> >
>> >
>> > On 2011-12-12 08:39, michael j pan wrote:
>> > > This is great news.  I started looking for websockets in mongrel2
>> > > this past weekend, and it seems that the initial implementation
>> > > was removed.  Any idea when an implementation might be released?
>> >
>> > Take a look at the develop branch. I lot of work has been done there
>> > while Zed was away to work on his books. It may be available again
>> > there (but I am not sure).
>> >
>> > loïc
>> >
>> > > On Mon, Dec 12, 2011 at 15:12, Loic d'Anterroches
>> > > <loic@ceondo.com>
>> > wrote:
>> > >> Hello,
>> > >>
>> > >> it looks like we have something stable to base our work on with
>> > >> respect to websockets.
>> > >>
>> > >>
>> > http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
>> > >> http://www.rfc-editor.org/rfc/rfc6455.txt
>> > >>
>> > >> This means I can start to work on the support in my framework
>> > >> too and start to wait a long time before I can use it in
>> > >> production for corporate userse :D
>> > >>
>> > >> loïc
>> > >>
>> > >> --
>> > >> Indefero - Project management and code hosting -
>> > http://www.indefero.net
>> > >> Photon - High Performance PHP Framework -
>> > >> http://photon-project.com Céondo Ltd - Web + Science = Fun -
>> > >> http://www.ceondo.com
>> >
>> > --
>> > Dr Loïc d'Anterroches
>> > Founder Céondo Ltd
>> >
>> > w: www.ceondo.com       |  e: loic@ceondo.com
>> > t: +44 (0)207 183 0016  |  f: +44 (0)207 183 0124
>> >
>> > Céondo Ltd
>> > Dalton House
>> > 60 Windsor Avenue
>> > London
>> > SW19 2RR / United Kingdom
>> >
>

Re: [mongrel2] Websocket finally as RFC

From:
Jason Miller
Date:
2012-01-07 @ 03:54
Hi Mike,

I'm probably going to move the handshake and fragmentation, etc. to
mongrel2 anyway, but not for this reason.  Handlers need to be aware
that it's a ws connection because the semantics of a ws connection are
different from HTTP, and the reply format is different from HTTP.

-Jason

On 20:47 Wed 21 Dec     , michael j pan wrote:
> Apologies for the late response.  I'm just now getting to looking at
> the websockets implementation in the develop branch.
> I think that it would be good for the ws bits of mongrel2 to handle
> the server response of the handshake, so that the handlers don't have
> to be aware that the zmq messages are actually running through a
> websockets connection
> 
> Mike
> 
> On Tue, Dec 13, 2011 at 07:01, Jason Miller <jason@milr.com> wrote:
> > I wrote the support that is in the develop branch.  Let me know if you
> > have any issues with it.  Some have suggested I pre-calculate the
> > handshake for languages without good crypto support.  Any comments on
> > that?
> >
> > -Jason
> >
> > On Mon, 12 Dec 2011 12:31:26 -0800
> > Xavier Lange <xrlange@gmail.com> wrote:
> >
> >> The develop branch does indeed work for websockets. The actual
> >> handshake/negotation must be done in the handler but mongrel2 plays
> >> nice and does not mangle the request.
> >>
> >> If you want to try out websockets in C code please take a look at my
> >> libm2handler project on github: https://github.com/xrl/libm2handler .
> >> There are some sample handlers and test pages to go with it.
> >>
> >> Xavier
> >>
> >> On Sun, Dec 11, 2011 at 11:43 PM, Loic d'Anterroches
> >> <loic@ceondo.com>wrote:
> >>
> >> >
> >> >
> >> > On 2011-12-12 08:39, michael j pan wrote:
> >> > > This is great news.  I started looking for websockets in mongrel2
> >> > > this past weekend, and it seems that the initial implementation
> >> > > was removed.  Any idea when an implementation might be released?
> >> >
> >> > Take a look at the develop branch. I lot of work has been done there
> >> > while Zed was away to work on his books. It may be available again
> >> > there (but I am not sure).
> >> >
> >> > loïc
> >> >
> >> > > On Mon, Dec 12, 2011 at 15:12, Loic d'Anterroches
> >> > > <loic@ceondo.com>
> >> > wrote:
> >> > >> Hello,
> >> > >>
> >> > >> it looks like we have something stable to base our work on with
> >> > >> respect to websockets.
> >> > >>
> >> > >>
> >> > http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
> >> > >> http://www.rfc-editor.org/rfc/rfc6455.txt
> >> > >>
> >> > >> This means I can start to work on the support in my framework
> >> > >> too and start to wait a long time before I can use it in
> >> > >> production for corporate userse :D
> >> > >>
> >> > >> loïc
> >> > >>
> >> > >> --
> >> > >> Indefero - Project management and code hosting -
> >> > http://www.indefero.net
> >> > >> Photon - High Performance PHP Framework -
> >> > >> http://photon-project.com Céondo Ltd - Web + Science = Fun -
> >> > >> http://www.ceondo.com
> >> >
> >> > --
> >> > Dr Loïc d'Anterroches
> >> > Founder Céondo Ltd
> >> >
> >> > w: www.ceondo.com       |  e: loic@ceondo.com
> >> > t: +44 (0)207 183 0016  |  f: +44 (0)207 183 0124
> >> >
> >> > Céondo Ltd
> >> > Dalton House
> >> > 60 Windsor Avenue
> >> > London
> >> > SW19 2RR / United Kingdom
> >> >
> >

Re: [mongrel2] Websocket finally as RFC

From:
Tang Daogang
Date:
2011-12-19 @ 03:26
hi Jason,

How to use your implementation now? Any example?

On Tue, Dec 13, 2011 at 7:01 AM, Jason Miller <jason@milr.com> wrote:

> I wrote the support that is in the develop branch.  Let me know if you
> have any issues with it.  Some have suggested I pre-calculate the
> handshake for languages without good crypto support.  Any comments on
> that?
>
> -Jason
>
> On Mon, 12 Dec 2011 12:31:26 -0800
> Xavier Lange <xrlange@gmail.com> wrote:
>
> > The develop branch does indeed work for websockets. The actual
> > handshake/negotation must be done in the handler but mongrel2 plays
> > nice and does not mangle the request.
> >
> > If you want to try out websockets in C code please take a look at my
> > libm2handler project on github: https://github.com/xrl/libm2handler .
> > There are some sample handlers and test pages to go with it.
> >
> > Xavier
> >
> > On Sun, Dec 11, 2011 at 11:43 PM, Loic d'Anterroches
> > <loic@ceondo.com>wrote:
> >
> > >
> > >
> > > On 2011-12-12 08:39, michael j pan wrote:
> > > > This is great news.  I started looking for websockets in mongrel2
> > > > this past weekend, and it seems that the initial implementation
> > > > was removed.  Any idea when an implementation might be released?
> > >
> > > Take a look at the develop branch. I lot of work has been done there
> > > while Zed was away to work on his books. It may be available again
> > > there (but I am not sure).
> > >
> > > loïc
> > >
> > > > On Mon, Dec 12, 2011 at 15:12, Loic d'Anterroches
> > > > <loic@ceondo.com>
> > > wrote:
> > > >> Hello,
> > > >>
> > > >> it looks like we have something stable to base our work on with
> > > >> respect to websockets.
> > > >>
> > > >>
> > >
> http://www.ietf.org/mail-archive/web/ietf-announce/current/msg09663.html
> > > >> http://www.rfc-editor.org/rfc/rfc6455.txt
> > > >>
> > > >> This means I can start to work on the support in my framework
> > > >> too and start to wait a long time before I can use it in
> > > >> production for corporate userse :D
> > > >>
> > > >> loïc
> > > >>
> > > >> --
> > > >> Indefero - Project management and code hosting -
> > > http://www.indefero.net
> > > >> Photon - High Performance PHP Framework -
> > > >> http://photon-project.com Céondo Ltd - Web + Science = Fun -
> > > >> http://www.ceondo.com
> > >
> > > --
> > > Dr Loïc d'Anterroches
> > > Founder Céondo Ltd
> > >
> > > w: www.ceondo.com       |  e: loic@ceondo.com
> > > t: +44 (0)207 183 0016  |  f: +44 (0)207 183 0124
> > >
> > > Céondo Ltd
> > > Dalton House
> > > 60 Windsor Avenue
> > > London
> > > SW19 2RR / United Kingdom
> > >
>
>


-- 
Nothing is impossible.