void httpParse_RecvRequestSuccess(HttpParse obj) { lock (HttpParseList) { if (HttpParseList.ContainsKey(obj)) { HttpParseList[obj]++; } } ProxyMangment.GetInstance().SendData(obj.ReqLine.ReqURL.Host, obj.sourceData.ToArray(), obj.sock); }
public static ProxyMangment GetInstance() { if (_instance != null) { return(_instance); } lock (typeof(ProxyMangment)) { if (_instance == null) { _instance = new ProxyMangment(); } } return(_instance); }