diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-07 20:10:27 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-08 09:10:29 +0200 |
commit | 69b3ff5118be4eb6fdd9ef645b955cac7d2fe0ba (patch) | |
tree | b4bf92f3a9437194236f19cbc1eaeb80ba82fe22 /tests/unit | |
parent | a93b43cde82d7a48014990d6a31dc917c1b5f93c (diff) |
alt-svc: add protocol version selection masking
So that users can mask in/out specific HTTP versions when Alt-Svc is
used.
- Removed "h2c" and updated test case accordingly
- Changed how the altsvc struct is laid out
- Added ifdefs to make the unittest run even in a quiche-tree
Closes #4201
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/unit1654.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1654.c b/tests/unit/unit1654.c index 9d1a3e211..51fc5d16f 100644 --- a/tests/unit/unit1654.c +++ b/tests/unit/unit1654.c @@ -90,7 +90,7 @@ UNITTEST_START fail_unless(asi->num == 8, "wrong number of entries"); result = Curl_altsvc_parse(curl, asi, "h2=\"example.com:443\"; ma = 120;", - ALPN_h2c, "example.org", 80); + ALPN_h2, "example.org", 80); if(result) { fprintf(stderr, "Curl_altsvc_parse(4) failed!\n"); unitfail++; |