← Graph

Socket Hijacking

concept 3 connections

Rack feature that lets an application grab the raw TCP socket behind an HTTP request and escape the normal request/response lifecycle. Essential for long-running persistent connections like WebSockets. ManageIQ uses it to detach the VNC↔WebSocket proxy onto a separate thread while returning a dummy response to keep Rack happy.

category
pattern
about
Socket Hijacking concept
Rack socket hijacking is central to the proxy design
about
Socket Hijacking concept
Direct advice about using the hijacking API
project ManageIQ
uses
Socket Hijacking concept
Uses Rack hijacking to run the VNC↔WebSocket proxy thread

Provenance

Read by
4 extractions