Changeset a939015 in mod_gnutls


Ignore:
Timestamp:
Nov 6, 2018, 2:58:56 PM (7 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master
Children:
0bed0a0
Parents:
64470ce
Message:

Test early SNI in HTTP/2 test (if enabled)

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r64470ce ra939015  
    7676        [early_sni="no"])
    7777if test "$early_sni" != "no"; then
    78         GNUTLS_FEAT_CFLAGS="${GNUTLS_FEAT_CFLAGS} -DENABLE_EARLY_SNI"
    79 fi
     78        ENABLE_EARLY_SNI=1
     79        # This is for the test server configuration
     80        EXPECT_EARLY_SNI="Define EXPECT_EARLY_SNI"
     81else
     82        ENABLE_EARLY_SNI=0
     83        EXPECT_EARLY_SNI=""
     84fi
     85AC_SUBST(ENABLE_EARLY_SNI)
     86AC_SUBST(EXPECT_EARLY_SNI)
     87AM_SUBST_NOTMAKE(EXPECT_EARLY_SNI)
    8088
    8189AC_ARG_ENABLE(strict,
     
    308316                        doc/Makefile doc/doxygen.conf include/mod_gnutls.h \
    309317                        test/proxy_backend.conf test/ocsp_server.conf \
     318                        test/apache-conf/early_sni.conf \
    310319                        test/apache-conf/listen.conf \
    311320                        test/apache-conf/netns.conf])
  • include/mod_gnutls.h.in

    r64470ce ra939015  
    5050/* Module Debug Mode */
    5151#define MOD_GNUTLS_DEBUG @OOO_MAINTAIN@
     52
     53/* Compile support for early SNI? */
     54#if @ENABLE_EARLY_SNI@ == 1
     55#define ENABLE_EARLY_SNI
     56#endif
    5257
    5358/** Name of the module-wide singleton watchdog */
  • test/apache-conf/.gitignore

    r64470ce ra939015  
    11netns.conf
    22listen.conf
     3early_sni.conf
  • test/tests/28_HTTP2_support/apache.conf

    r64470ce ra939015  
    99</Location>
    1010
     11<IfDefine EXPECT_EARLY_SNI>
     12# Different ALPN settings on the same port work only with early SNI
     13<VirtualHost _default_:${TEST_PORT}>
     14        # No "Protocols" directive, HTTP/1.1 only
     15        ServerName              vhost.example.com
     16        GnuTLSEnable            On
     17        GnuTLSCertificateFile   server/x509.pem
     18        GnuTLSKeyFile           server/secret.key
     19        GnuTLSPriorities        NORMAL
     20</VirtualHost>
     21</IfDefine>
     22
    1123<VirtualHost _default_:${TEST_PORT}>
    1224        Protocols               h2 http/1.1
Note: See TracChangeset for help on using the changeset viewer.