Support for the new Rack socket hijacking API

38 views
Skip to first unread message

Hongli Lai

unread,
Jan 22, 2013, 6:01:26 PM1/22/13
to phusion-passenger, Phusion Passenger Announcements
Rack 1.5.0 has been released today and introduced a new API: the
socket hijacking API[1]. This API allows applications to take over the
client socket so that they can perform arbitrary operations on it,
e.g. implementing Websocket. Support for this new hijacking API has
landed in Phusion Passenger 4 branch today.[2]

Please let us know if you find any issues.

[1] http://thread.gmane.org/gmane.comp.lang.ruby.general/360444/focus=360447
and https://github.com/rack/rack/pull/481
[2] https://github.com/FooBarWidget/passenger/commit/c5b5b2e76034f7c7010c46aefc08967240eda122

With kind regards,
the Phusion team
--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Hongli Lai

unread,
Jan 23, 2013, 9:42:09 AM1/23/13
to phusion-passenger, Phusion Passenger Announcements
We've just published an article which describes the hijacking API:
http://blog.phusion.nl/2013/01/23/the-new-rack-socket-hijacking-api/
Reply all
Reply to author
Forward
0 new messages