[PATCH] HTTP: implement 'connect' and 'close' phases
Carlos Eduardo Ferreira Rodrigues
carlos-eduardo-rodrigues at telecom.pt
Fri Nov 20 12:28:29 UTC 2015
On 20-11-2015 09:45, Alessandro Ghedini wrote:
> These can be useful for keeping track of TCP connections for debugging,
> monitoring and logging purposes, and can also be used to apply custom
> configurations (e.g. socket options).
How feasible would it be to have a similar phase for new requests inside
the same (keep-alive) connection?
For me, the interesting use case here would be marking connections with
IP_TOS/SO_MARK for traffic-shaping/routing purposes and being able to
change marks while the connection is still open depending on the
specific content that's being transferred for that request.
More information about the nginx-devel