Ask Your Question

Revision history [back]

How to access initial HTTP negotiation context data from websocket dissector?


I'm writing a custom dissector for a websocket subprotocol.

I would like to access to the initial HTTP upgrade request to get a given header value from any websocket frame dissection. Is that possible? Is it possible to retrieve the initial HTTP handshake from a websocket session? Is it possible to bind the inirtial http context to a websocket session?