反向代理 gRPC 端口(支持 Cloudflare CDN)

This commit is contained in:
Lemoe 2021-11-11 14:09:42 +08:00
parent 6de171feee
commit 3ecfb1f1eb
No known key found for this signature in database
GPG Key ID: 2570C7D85A4A74CA

View File

@ -63,7 +63,7 @@ func DispatchKeepalive() {
dao.SortedServerLock.RLock()
defer dao.SortedServerLock.RUnlock()
for i := 0; i < len(dao.SortedServerList); i++ {
if dao.SortedServerList[i] == nil || dao.SortedServerList[i].TaskStream == nil || dao.SortedServerList[i].TaskStream.Context().Err() != nil {
if dao.SortedServerList[i] == nil || dao.SortedServerList[i].TaskStream == nil {
continue
}