Skip to content

fix(net): guard HeaderToMap against header keys with empty value slices#4855

Merged
yxxhero merged 1 commit into
dragonflyoss:mainfrom
anxkhn:fix/guard-headertomap-against-header-keys
Jul 9, 2026
Merged

fix(net): guard HeaderToMap against header keys with empty value slices#4855
yxxhero merged 1 commit into
dragonflyoss:mainfrom
anxkhn:fix/guard-headertomap-against-header-keys

fix(net): guard HeaderToMap against header keys with empty value slices

a4fd03e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 7, 2026 in 1s

28.04% (target 28.00%)

View this Pull Request on Codecov

28.04% (target 28.00%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.04%. Comparing base (0b3cca4) to head (a4fd03e).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4855   +/-   ##
=======================================
  Coverage   28.04%   28.04%           
=======================================
  Files         232      232           
  Lines       23148    23149    +1     
=======================================
+ Hits         6491     6492    +1     
  Misses      16218    16218           
  Partials      439      439           
Files with missing lines Coverage Δ
pkg/net/http/http.go 82.14% <100.00%> (+0.66%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.