No description
- Go 99.5%
- Dockerfile 0.5%
Replace all raw '1 << serverIndex' operations with mustServerBit(), which validates the index is in [0, 63] before shifting. Out-of-range indices panic with ErrInvalidServerIndex. - Add maxServers constant (64) and ErrInvalidServerIndex error - Add mustServerBit() helper used by GetOrCreate, MarkDelivered, WasDelivered - Add unit tests for server index -1, 63, 64 boundary conditions This provides defense-in-depth: even if the config cap of 64 servers is ever raised or bypassed, invalid server indices cannot silently cause bit-shift collisions in the dedup delivery bitmask. |
||
|---|---|---|
| cmd/meshmq-link | ||
| configs | ||
| internal | ||
| .dockerignore | ||
| .gitignore | ||
| AGENTS.md | ||
| docker-compose.example.yml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||