[dev] SSL hooks in load balancer modules

Grzegorz Nosek grzegorz.nosek at gmail.com
Sun Dec 2 13:50:28 MSK 2007

Hi all,

I have a question about the SSL hooks in upstream support, i.e.:

struct ngx_peer_connection_s {
    /* ... */

#if (NGX_SSL)
    ngx_event_set_peer_session_pt    set_session;
    ngx_event_save_peer_session_pt   save_session;

    /* ... */

When are the hooks called? What are they supposed to do? They look
like support for https proxying but I cannot see the bigger picture.
Any insight greatly appreciated.

Best regards,
 Grzegorz Nosek

More information about the nginx mailing list