Skip to content

Commit

Permalink
feat: bump to msquic 2.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Dec 6, 2024
1 parent 992943c commit fd16941
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ default: build-nif

.PHONY: build-nif
build-nif:
./build.sh 'v2.3.5'
./build.sh 'v2.3.8'

compile:
$(REBAR) compile
Expand Down
12 changes: 12 additions & 0 deletions get-msquic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ patch_2_3_5()
do_patch "$patch_1"
}

patch_2_3_8()
{
local patch_1="https://github.com/microsoft/msquic/commit/12edf3725475d4a99e5598df3289bace47b8f56e.patch"
local patch_2="https://github.com/microsoft/msquic/commit/e0201eb4e007e7524aef007be67f2281f949f102.patch"
mkdir -p "$patch_dir"
echo "Patching Msquic 2.3.8"
do_patch "$patch_1"
do_patch "$patch_2"
}

if [ ! -d msquic ]; then
git clone https://github.com/microsoft/msquic.git -b "$VERSION" --recursive --depth 1 --shallow-submodules msquic
Expand All @@ -62,4 +71,7 @@ case $VERSION in
v2.3.5)
patch_2_3_5
;;
v2.3.8)
patch_2_3_8
;;
esac

0 comments on commit fd16941

Please sign in to comment.