Skip to content

Commit 2d9bab6

Browse files
committed
Merge branch 'main' into fix-lua-lightuserdata-arm64
2 parents 4eb4220 + 99a308b commit 2d9bab6

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ jobs:
5858
5959
- name: Push code coverage
6060
if: ${{ matrix.make_target == 'lcov' }}
61-
run: |
62-
cp libvmod-cfg-*-coverage.info codecov.info
63-
bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -t ${{ secrets.CODECOV_TOKEN }}
61+
uses: codecov/codecov-action@v5
62+
with:
63+
token: ${{ secrets.CODECOV_TOKEN }}
64+
fail_ci_if_error: true
6465

6566
- name: Show test report
6667
if: ${{ failure() }}

COPYING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016-2025 Carlos Abalde <[email protected]>
1+
Copyright (c) 2016-2026 Carlos Abalde <[email protected]>
22

33
You're free to use and distribute this under terms in the
44
LICENSE file.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016-2025 Carlos Abalde <[email protected]>
1+
Copyright (c) 2016-2026 Carlos Abalde <[email protected]>
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions

src/script_helpers.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,9 @@ varnish_get_header_command(
484484
if (is_valid_http_where(ctx, he)) {
485485
char buffer[strlen(name) + 3];
486486
sprintf(buffer, "%c%s:", (char) (strlen(name) + 1), name);
487-
const struct gethdr_s hs = {he, buffer};
487+
hdr_t hdr;
488+
CAST_HDR(hdr, buffer);
489+
const struct gethdr_s hs = {he, hdr};
488490
result = VRT_GetHdr(ctx, &hs);
489491
} else {
490492
*error = WS_Printf(
@@ -520,7 +522,9 @@ varnish_set_header_command(
520522
if (is_valid_http_where(ctx, he)) {
521523
char buffer[strlen(name) + 3];
522524
sprintf(buffer, "%c%s:", (char) (strlen(name) + 1), name);
523-
const struct gethdr_s hs = {he, buffer};
525+
hdr_t hdr;
526+
CAST_HDR(hdr, buffer);
527+
const struct gethdr_s hs = {he, hdr};
524528
VRT_SetHdr(
525529
ctx,
526530
&hs,

0 commit comments

Comments
 (0)