• Tatsuhiro Tsujikawa's avatar
    nghttpx: Fix bug that causes connection failure with backend proxy URI · dbbed641
    Tatsuhiro Tsujikawa authored
    This is a regression when we introduced SSL/TLS session resumption in
    HTTP/2 backend.  Before the introduction of session resumption,
    conn_.tls.ssl is always nullptr when connection is made to proxy.  But
    we have to keep conn_.tls.ssl to enable session resumption, so our
    code breaks when it is reused.  This commit fixes this issue.
    
    See GH-421
    dbbed641
shrpx_http2_session.cc 49.1 KB