1 Star 0 Fork 0

李所当然/nghttp3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
qifs-check.sh 604 Bytes
一键复制 编辑 原始数据 按行查看 历史
Tatsuhiro Tsujikawa 提交于 2019-02-17 10:02 . Add qifs scripts
#!/bin/bash
set -e
for f in qifs/encoded/qpack-06/*/*; do
echo $f
name=`basename "$f"`
IFS='.' read -ra params <<< "$name"
[ "${params[1]}" = "out" ] || continue
prefix=${params[0]}
maxtablesize=${params[2]}
maxblocked=${params[3]}
immediateack=${params[4]}
opts="-s$maxtablesize -m$maxblocked"
if [ "$immediateack" = "1" ]; then
opts="$opts -a"
fi
examples/qpack decode "$f" qpack-check.out $opts
qifs/bin/sort-qif.pl --strip-comments qpack-check.out > qpack-check-canonical.out
diff -u qpack-check-canonical.out "qifs/qifs/$prefix.qif"
done
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/lilw1/nghttp3.git
git@gitee.com:lilw1/nghttp3.git
lilw1
nghttp3
nghttp3
draft-22

搜索帮助

0d507c66 1850385 C8b1a773 1850385