feat(http): enable HTTP/2 support in server configuration

- Added NextProtos to TLSConfig to prefer HTTP/2 and fallback to HTTP/1.1.
- Configured the server to handle HTTP/2 connections, with error logging for configuration failures.
This commit is contained in:
yusing
2026-01-02 01:11:07 +08:00
parent 0884be240c
commit 32dba5f5f6

Submodule goutils updated: d94d68f95d...486810fc6a