From 27a91fc30e43fdf8de6b12920ad6bae549b61aa9 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 10 Apr 2014 23:29:56 +0900 Subject: [PATCH] Allow NGHTTP2_PRIORITY_TYPE_NONE in nghttp2_submit_{request,headers} --- lib/nghttp2_submit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nghttp2_submit.c b/lib/nghttp2_submit.c index cc543b54..7e69e437 100644 --- a/lib/nghttp2_submit.c +++ b/lib/nghttp2_submit.c @@ -131,6 +131,7 @@ static int nghttp2_submit_headers_shared_nva if(pri_spec) { switch(pri_spec->pri_type) { + case NGHTTP2_PRIORITY_TYPE_NONE: case NGHTTP2_PRIORITY_TYPE_GROUP: case NGHTTP2_PRIORITY_TYPE_DEP: break;