summaryrefslogtreecommitdiff
path: root/internal/server.go
AgeCommit message (Collapse)Author
2026-07-01Harden Gopher parsing and recover server goroutinesHEADv1.6.4mainT
Reject oversized or malformed Gopher selectors as parse errors instead of panicking. Keep search requests bounded, and wrap shared server goroutines with panic logging so one bad connection cannot take down the process.
2023-11-13lint and bug fixestjp
2023-10-09logging.Base()tjpcc
Allow users to get access to the base logger *before* it is wrapped with the various levels. This provides a single override point to filter or redirect all logging.
2023-09-23nit style fixtjpcc
2023-09-09log stderr on failed CGIstjpcc
2023-05-03now we should allow empty addresstjpcc
2023-05-03add JoinDefaultPort for servers' configurationtjpcc
2023-02-02Initial Router work.tjpcc
- Router type, supports: adding handlers, serving, fetching the matching handler for a route. - Private PathTree type handles the modified radix trie.
2023-01-28gopher support.tjpcc
Some of the contrib packages were originally built gemini-specific and had to be refactored into generic core functionality and thin protocol-specific wrappers for each of gemini and gopher.