routewatch/internal/server
sneak 7d39bd18bc Fix concurrent map write panic in timeout middleware
- Add thread-safe header wrapper in timeoutWriter
- Check context cancellation before writing responses in handlers
- Protect header access after timeout with mutex
- Prevents race condition when requests timeout while handlers are still running
2025-07-28 21:54:58 +02:00
..
handlers.go Fix concurrent map write panic in timeout middleware 2025-07-28 21:54:58 +02:00
middleware.go Fix concurrent map write panic in timeout middleware 2025-07-28 21:54:58 +02:00
routes.go Fix prefix distribution bug and add prefix length pages 2025-07-28 18:42:38 +02:00
server.go Refactor server package: split handlers and routes into separate files 2025-07-28 04:00:12 +02:00