apache / apisix-go-plugin-runner

Go Plugin Runner for APISIX
https://apisix.apache.org/
Apache License 2.0
167 stars 69 forks source link

fix: write response header should not break req #65

Closed spacewander closed 2 years ago

spacewander commented 2 years ago

Although it won't take effect without calling Write or WriteHeader for now.

Fix #64.

codecov-commenter commented 2 years ago

Codecov Report

Merging #65 (8037394) into master (195bd64) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   78.88%   78.88%           
=======================================
  Files          11       11           
  Lines         701      701           
=======================================
  Hits          553      553           
  Misses        111      111           
  Partials       37       37           
Impacted Files Coverage Δ
internal/http/response.go 100.00% <100.00%> (ø)
internal/plugin/conf.go 89.04% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 195bd64...8037394. Read the comment docs.