请教下大家,800连接内存涨的很快,代码这样有问题吗?
func PollMessageHandler(w http.ResponseWriter, r *http.Request) { vars := mux.Vars(r) userId := vars["userId"] hj, ok := w.(http.Hijacker) if !ok { errorMsg := "The Web Server does not support Hijacking! " http.Error(w, errorMsg, ht...阅读全文