Add v2ray HTTP transport

This commit is contained in:
世界
2022-08-22 22:19:25 +08:00
parent d4b7e221f0
commit 4005452772
14 changed files with 452 additions and 68 deletions

View File

@@ -143,5 +143,5 @@ func (s *Server) ServePacket(listener net.PacketConn) error {
}
func (s *Server) Close() error {
return common.Close(s.httpServer)
return common.Close(common.PtrOrNil(s.httpServer))
}