News for hackers. Stuff that matters.
Re:The new Rack socket hijacking API by zrail on Wednesday January 23, 2013 @02:13PM (#5104691)
I wonder if Heroku will add support for this. It'd be pretty nice to be able to just deal with arbitrary sockets there instead of being limited to just HTTP.
Re:The new Rack socket hijacking API by tenderlove on Wednesday January 23, 2013 @02:59PM (#5104950)
It depends on the webserver you use, not Heroku. The webserver must implement the hijacking API of Rack.

Also, you don't necessarily have to run an HTTP server on Heroku. They'll run whatever you want (as long as you change your procfile), so I think you can just go nuts. I think the only restriction is that you can't have the socket open for more than 30 seconds (though that may be 30 seconds of the socket being idle).