Changeset 9144517 in mod_gnutls for test/tests/04_name_based_vhosts


Ignore:
Timestamp:
Sep 27, 2020, 12:34:08 PM (10 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
3453f93
Parents:
bfdba17
Message:

Integrate 32_vhost_SNI_serveralias_mismatch into 04_name_based_vhosts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/tests/04_name_based_vhosts/test.yaml

    rbfdba17 r9144517  
    1313          exactly: |
    1414            test
     15
    1516- !connection
    1617  description: >-
     
    2627          exactly: |
    2728            test
     29
    2830- !connection
    2931  description: >-
     
    4345          exactly: |
    4446            test
     47
    4548- !connection
    4649  description: >-
     
    5962          - 'Misdirected Request'
    6063          - 'Server Name Indication (SNI)'
     64
    6165- !connection
    6266  description: >-
     
    7680          exactly: |
    7781            test
     82
    7883- !connection
    7984  description: >-
     
    9398          exactly: |
    9499            test
     100
     101- !connection
     102  description: >-
     103    Send SNI and Host header that are different, but both match the
     104    wildcard ServerAlias of the third vhost (*.example.test). Expect
     105    error 421.
     106  gnutls_params:
     107    - x509cafile=authority/x509.pem
     108    - sni-hostname=www.example.test
     109  actions:
     110    - !request
     111      path: /test.txt
     112      headers:
     113        Host: mismatched.example.test
     114      expect:
     115        status: 421
     116        body:
     117          contains:
     118            - 'Misdirected Request'
     119            - 'Server Name Indication (SNI)'
Note: See TracChangeset for help on using the changeset viewer.