mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
test1650: make it depend on http/2
Follow-up to 570008c99d
as it gets link errors.
Reported-by: Michael Kaufmann
Closes #3068
This commit is contained in:
parent
3edb0e369e
commit
b8ab30d309
@ -14,6 +14,7 @@ none
|
|||||||
</server>
|
</server>
|
||||||
<features>
|
<features>
|
||||||
unittest
|
unittest
|
||||||
|
http/2
|
||||||
</features>
|
</features>
|
||||||
<name>
|
<name>
|
||||||
DOH
|
DOH
|
||||||
|
@ -33,6 +33,7 @@ static void unit_stop(void)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_NGHTTP2
|
||||||
#define DNS_PREAMBLE "\x00\x00\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00"
|
#define DNS_PREAMBLE "\x00\x00\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00"
|
||||||
#define LABEL_TEST "\x04\x74\x65\x73\x74"
|
#define LABEL_TEST "\x04\x74\x65\x73\x74"
|
||||||
#define LABEL_HOST "\x04\x68\x6f\x73\x74"
|
#define LABEL_HOST "\x04\x68\x6f\x73\x74"
|
||||||
@ -281,3 +282,13 @@ UNITTEST_START
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
UNITTEST_STOP
|
UNITTEST_STOP
|
||||||
|
|
||||||
|
#else /* USE_NGHTTP2 */
|
||||||
|
UNITTEST_START
|
||||||
|
{
|
||||||
|
return 1; /* nothing to do, just fail */
|
||||||
|
}
|
||||||
|
UNITTEST_STOP
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user