Connection API?

kyprizel kyprizel at
Sat Dec 1 00:27:08 UTC 2012

Hi, Nick
nice to see that you're interested in porting Ironbee to NGINX :)

On Sat, Dec 1, 2012 at 4:19 AM, Nick Kew <nick at> wrote:
> I'm looking to port a module to nginx.  The module currently
> exists for Apache Trafficserver and Apache HTTPD.
> Part of the module hooks into the start and end of the
> TCP connection, and maintains connection data in a connection
> context.  As far as I can tell, there's no equivalent API in
> nginx: there's no ctx to store context in ngx_connection_t,
> nor are there hooks to insert my modules functions at the start
> and end of a connection.
> (a) Is there really no connection API, or am I just missing it?
> (b) If there really is no such API, would the nginx core team
>     be receptive to a patch introducing it?  I would envisage
>     a ctx in the connection struct, and a hookable
>     start-connection event.
> --
> Nick Kew
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at

More information about the nginx-devel mailing list