Commit f2c695e
committed
Implement comprehensive security and performance improvements for monitoring dashboard
- Fix WebSocket origin validation to prevent CSRF attacks
- Add input sanitization with HTML escaping to prevent XSS
- Split single RWMutex into 5 specialized locks to reduce contention
- Add configurable memory limits for query log entries
- Implement real-time memory usage tracking and cleanup
- Add new config options: max_query_log_entries, max_memory_mb1 parent 5226d9d commit f2c695e
1 file changed
Lines changed: 165 additions & 44 deletions
0 commit comments