@@ -1147,6 +1147,15 @@ func TestAnalyze_http3(t *testing.T) {
1147
1147
blockCtx {"http" , "server" },
1148
1148
false ,
1149
1149
},
1150
+ "http3_max_concurrent_streams not ok" : {
1151
+ & Directive {
1152
+ Directive : "http3_max_concurrent_streams" ,
1153
+ Args : []string {"10" },
1154
+ Line : 5 ,
1155
+ },
1156
+ blockCtx {"http" , "location" },
1157
+ true ,
1158
+ },
1150
1159
"http3_stream_buffer_size ok" : {
1151
1160
& Directive {
1152
1161
Directive : "http3_stream_buffer_size" ,
@@ -1156,6 +1165,15 @@ func TestAnalyze_http3(t *testing.T) {
1156
1165
blockCtx {"http" , "server" },
1157
1166
false ,
1158
1167
},
1168
+ "http3_stream_buffer_size not ok" : {
1169
+ & Directive {
1170
+ Directive : "http3_stream_buffer_size" ,
1171
+ Args : []string {"128k" },
1172
+ Line : 5 ,
1173
+ },
1174
+ blockCtx {"http" , "location" },
1175
+ true ,
1176
+ },
1159
1177
}
1160
1178
1161
1179
for name , tc := range testcases {
@@ -1192,6 +1210,15 @@ func TestAnalyze_quic(t *testing.T) {
1192
1210
blockCtx {"http" , "server" },
1193
1211
false ,
1194
1212
},
1213
+ "quic_active_connection_id_limit not ok" : {
1214
+ & Directive {
1215
+ Directive : "quic_active_connection_id_limit" ,
1216
+ Args : []string {"2" },
1217
+ Line : 5 ,
1218
+ },
1219
+ blockCtx {"http" , "location" },
1220
+ true ,
1221
+ },
1195
1222
"quic_bpf ok" : {
1196
1223
& Directive {
1197
1224
Directive : "quic_bpf" ,
0 commit comments