#
# Copyright (C) 2020 Xiaomi Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

config LIB_NGHTTP2
	bool "Enable NGHTTP2"
	default n
	---help---
		nghttp2 is an implementation of HTTP/2 and its header compression algorithm HPACK.

if LIB_NGHTTP2
config NGHTTP2_TEST
	tristate "Enable NGHTTP2 Test"
	default n
	depends on LIB_CUNIT
	---help---
		enable NGHTTP2 test.

if NGHTTP2_TEST
config NGHTTP2_TEST_PROGNAME
	string "Program name"
	default "nghttp2_test"
	---help---
		This is the name of the program that will be used when the nghttps2 test is installed.

config NGHTTP2_TEST_PRIORITY
	int "NGHTTP2 test priority"
	default 100

config NGHTTP2_TEST_STACKSIZE
	int "NGHTTP2 test stack size"
	default DEFAULT_TASK_STACKSIZE
endif

endif