• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Kong / ngx_wasm_module / 8820695193 / 8
95%
main: 95%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2024 05:46PM UTC
Files 40
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Apr 2024 05:24PM UTC coverage: 88.435% (-0.05%) from 88.481%
8820695193.8

push

github

thibaultcha
feat(proxy-wasm) consistent context checks for all header setters

This commit creates a helper function `hfuncs_set_header_check` which is
used by all Proxy-Wasm host functions setting headers (set, add,
replace, remove), ensuring a consistent behavior across all of them.

In particular, some of the header setters did not produce `BAD_ARGUMENT`
when `map_type` is invalid.

This also changes the behavior of the functions to produce traps when
they are called in invalid contexts, instead of logging an error and
returning `OK`. This matches the behavior of the body setter functions.

Also add context checks suites for all header setters.

Co-Authored-By: Thibault Charbonnier <thibaultcha@me.com>

6454 of 7298 relevant lines covered (88.44%)

3545.02 hits per line

Source Files on job unit-ngx_1.25.5-wasmer-no_ipc-no_ssl-no_debug-no_hup-static - 8820695193.8
  • Tree
  • List 0
  • Changed 36
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8820695193
  • 4ed38176 on github
  • Prev Job for on main (#8818764704.8)
  • Next Job for on main (#8824432846.10)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc