C# X-SERVERSOCKET:重用Fiddler

C# X-SERVERSOCKET:重用Fiddler,c#,asp.net,sockets,httpwebrequest,fiddler,C#,Asp.net,Sockets,Httpwebrequest,Fiddler,我的代码 我得到了fiddler属性X-SERVERSOCKET:REUSE ServerPipe#174 但当我直接访问站点(而不是从asp.net)时,fiddler显示X-SERVERSOCKET:REUSE ServerPipe#17 NEW 直接站点上的“新”是什么意思?当我使用asp.net应用程序并指导站点时,会有什么不同?Fiddler的X-ServerSocket标记只跟踪请求是否重用了现有的服务器连接。一般来说,你不需要关心这个标志 重用ServerPipe#174表示最初用

我的代码

我得到了fiddler属性X-SERVERSOCKET:REUSE ServerPipe#174

但当我直接访问站点(而不是从asp.net)时,fiddler显示X-SERVERSOCKET:REUSE ServerPipe#17 NEW


直接站点上的“新”是什么意思?当我使用asp.net应用程序并指导站点时,会有什么不同?

Fiddler的
X-ServerSocket
标记只跟踪请求是否重用了现有的服务器连接。一般来说,你不需要关心这个标志

重用ServerPipe#174
表示最初用于会话#174的连接用于此响应。相反,
Reuse ServerPipe#17*NEW
意味着Fiddler首先尝试重用为会话#17建立的连接,但重用失败(通常意味着服务器在可以重用之前关闭了连接),因此Fiddler随后创建了到服务器的新连接

webRequest = WebRequest.Create("https://----------.com") as HttpWebRequest;
                webRequest.Method = "POST";
                webRequest.ContentType = "application/x-www-form-urlencoded";
                webRequest.CookieContainer = this.ReadCookies();
                webRequest.KeepAlive = true;
                //webRequest.Proxy = null;
                webRequest.Proxy = new WebProxy("127.0.0.1:8888");
                webRequest.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8";
                webRequest.Headers.Set("Cache-Control", "max-age=0");
                webRequest.Headers.Add("Accept-Encoding", "gzip,deflate,sdch");
                webRequest.Headers.Add("Origin", "https://agent.sriwijayaair.co.id");
                webRequest.Headers.Add("Accept-Language", "en-US,en;q=0.8,id;q=0.6,ms;q=0.4,es;q=0.2");
                webRequest.UserAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36";
                webRequest.Referer = "https://--------.com";
                webRequest.AllowAutoRedirect = true;
                webRequest.ServicePoint.SetTcpKeepAlive(true, 15, 200);
                webRequest.ServicePoint.Expect100Continue = false;
                webRequest.ServicePoint.UseNagleAlgorithm = true;
                webRequest.ServicePoint.GetType().GetProperty("HttpBehaviour", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(webRequest.ServicePoint, (byte)0, null);

                StreamWriter newStream1 = new StreamWriter(webRequest.GetRequestStream());
                newStream1.Write(data);
                newStream1.Close();