Fix websocket header overflow on 32bit arch
This commit is contained in:
parent
466cb425bc
commit
1ebe6ae0a1
5 changed files with 11 additions and 11 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -1,7 +1,7 @@
|
|||
on:
|
||||
# Indicates I want to run this workflow on all branches, PR, and tags
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches: ["main", "draft"]
|
||||
tags: ["*"]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
|
|
@ -24,7 +24,7 @@ builds:
|
|||
#pre:
|
||||
# - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
|
||||
post:
|
||||
- ./.goreleaser_hook.sh {{ .Arch }} {{ .Os }} {{ .ProjectName }}
|
||||
- ./.goreleaser_hook.sh {{ .Arch }} {{ .Os }} {{ .Arm }} {{ .ProjectName }}
|
||||
checksum:
|
||||
name_template: "checksums.txt"
|
||||
changelog:
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
go_arch=$1
|
||||
go_os=$2
|
||||
project_name=$3
|
||||
go_arm=$3
|
||||
project_name=$4
|
||||
|
||||
# Make Go -> Rust arch/os mapping
|
||||
case $go_arch in
|
||||
|
@ -19,7 +20,7 @@ case $go_os in
|
|||
esac
|
||||
|
||||
# Find artifacts and uncompress in the coresponding directory
|
||||
DIST_DIR=$(find dist -type d -name "*${go_os}_${go_arch}*")
|
||||
DIST_DIR=$(find dist -type d -name "*${go_os}_${go_arch}*${go_arm}*")
|
||||
echo "DIST_DIR: $DIST_DIR"
|
||||
rm -f ${DIST_DIR}/${project_name}*
|
||||
|
||||
|
|
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -349,7 +349,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "fastwebsockets"
|
||||
version = "0.4.4"
|
||||
source = "git+https://github.com/mmastrac/fastwebsockets?branch=split#c4c078208a6134e1c7de07691b3117a930868c1a"
|
||||
source = "git+https://github.com/erebe/fastwebsockets?branch=split#beaaaaba94ab55f4d71884e0f1194cc46e407a1b"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"hyper",
|
||||
|
@ -1644,18 +1644,18 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "zerocopy"
|
||||
version = "0.7.18"
|
||||
version = "0.7.20"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ede7d7c7970ca2215b8c1ccf4d4f354c4733201dfaaba72d44ae5b37472e4901"
|
||||
checksum = "dd66a62464e3ffd4e37bd09950c2b9dd6c4f8767380fabba0d523f9a775bc85a"
|
||||
dependencies = [
|
||||
"zerocopy-derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "zerocopy-derive"
|
||||
version = "0.7.18"
|
||||
version = "0.7.20"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4b27b1bb92570f989aac0ab7e9cbfbacdd65973f7ee920d9f0e71ebac878fd0b"
|
||||
checksum = "255c4596d41e6916ced49cfafea18727b24d67878fa180ddfd69b9df34fd1726"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
|
|
@ -12,8 +12,7 @@ url = "2.4.1"
|
|||
anyhow = "1.0.75"
|
||||
|
||||
hyper = { version = "0.14.27", features = ["client", "runtime"] }
|
||||
#fastwebsockets = { version = "0.4.4", features = ["upgrade"]}
|
||||
fastwebsockets = { git = "https://github.com/mmastrac/fastwebsockets", branch = "split", features = ["upgrade", "simd", "unstable-split"]}
|
||||
fastwebsockets = { git = "https://github.com/erebe/fastwebsockets", branch = "split", features = ["upgrade", "simd", "unstable-split"]}
|
||||
libc = { version = "0.2.149", features = []}
|
||||
once_cell = { version = "1.18.0", features = [] }
|
||||
ahash = { version = "0.8.6", features = []}
|
||||
|
|
Loading…
Reference in a new issue