Skip to content

Commit 5a95349

Browse files
authored
fix: disable http/2 (for now) (#17)
- disable HTTP/2 (we def. don't want it for authrpc, maybe could/should enable it for rpc in the future,though) - add metrics for in-flight requests counts - enhanced/optimised logs - don't proxy `transfer-encoding` header
2 parents 14d00f8 + 6c3d16e commit 5a95349

File tree

12 files changed

+1188
-644
lines changed

12 files changed

+1188
-644
lines changed

.cargo/config.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[build]
2-
rustflags = ["--cfg", "tracing_unstable"]
2+
rustflags = [
3+
"--cfg", "tracing_unstable",
4+
]

.github/workflows/rproxy_release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929
jobs:
3030
extract_version:
3131
name: extract version
32-
runs-on: warp-ubuntu-latest-x64-16x
32+
runs-on: ubuntu-latest
3333
outputs:
3434
VERSION: ${{ steps.extract_version.outputs.VERSION }}
3535
steps:
@@ -74,9 +74,9 @@ jobs:
7474
matrix:
7575
configs:
7676
- target: x86_64-unknown-linux-gnu
77-
runner: warp-ubuntu-latest-x64-32x
77+
runner: ubuntu-24.04
7878
- target: aarch64-unknown-linux-gnu
79-
runner: warp-ubuntu-latest-arm64-32x
79+
runner: ubuntu-24.04-arm
8080

8181
steps:
8282
- name: install dependencies
@@ -113,7 +113,7 @@ jobs:
113113
name: draft release
114114
if: ${{ github.event.inputs.draft_release == 'true' || github.event_name == 'push' }}
115115
needs: [extract_version, build_binary]
116-
runs-on: warp-ubuntu-latest-x64-16x
116+
runs-on: ubuntu-latest
117117
env:
118118
VERSION: ${{ needs.extract_version.outputs.VERSION }}
119119
permissions:
@@ -172,9 +172,9 @@ jobs:
172172
matrix:
173173
configs:
174174
- platform: linux/amd64
175-
runner: warp-ubuntu-latest-x64-16x
175+
runner: ubuntu-24.04
176176
- platform: linux/arm64
177-
runner: warp-ubuntu-latest-arm64-16x
177+
runner: ubuntu-24.04-arm
178178
steps:
179179
- name: checkout sources
180180
uses: actions/checkout@v4
@@ -239,7 +239,7 @@ jobs:
239239

240240
publish_container_index:
241241
name: publish container index
242-
runs-on: warp-ubuntu-latest-x64-16x
242+
runs-on: ubuntu-latest
243243
env:
244244
VERSION: ${{ needs.extract_version.outputs.VERSION }}
245245
needs:

0 commit comments

Comments
 (0)