Skip to content

fix: router duplicate route detection and static file status logging - #97

Merged
alexferl merged 1 commit into
masterfrom
router_dupe
Mar 13, 2026
Merged

fix: router duplicate route detection and static file status logging#97
alexferl merged 1 commit into
masterfrom
router_dupe

Conversation

@alexferl

Copy link
Copy Markdown
Owner
  • Detect duplicate route registration with clear panic message
  • Add statusCapture wrapper to log actual HTTP status codes (not hardcoded 200)
  • Implement http.Flusher on statusCapture for proper chunked transfer

- Detect duplicate route registration with clear panic message
- Add statusCapture wrapper to log actual HTTP status codes (not hardcoded 200)
- Implement http.Flusher on statusCapture for proper chunked transfer

Signed-off-by: alexferl <me@alexferl.com>
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 23067783233

Details

  • 17 of 17 (100.0%) changed or added relevant lines in 1 file are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 93.107%

Files with Coverage Reduction New Missed Lines %
server_tls.go 5 87.63%
Totals Coverage Status
Change from base Build 23067139045: -0.02%
Covered Lines: 9117
Relevant Lines: 9792

💛 - Coveralls

@alexferl
alexferl merged commit 69a7446 into master Mar 13, 2026
9 checks passed
@alexferl
alexferl deleted the router_dupe branch March 13, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants