|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
proxy server and aspxI'm developing a proxy server in C#-VS2005. It works fine in standard htm and asp pages. When I request an aspx page the client Explorer waits for a very long time waiting the response, however the proxy server was send to it. It’s like the client waits for more data. There is a part of code: .... uri = new Uri(dirurl); // dirurl is the page to read HttpWebRequest webReq = (HTTPWebRequest) WebRequest.Create(uri); AñadirCabecera(webReq, DatosCabecera, uri); // New header for webReq WebResponse datos; datos = webReq.GetResponse; Stream strm=datos.getResponseStream(); ... Then I send data through the before opened socket. It work’s fine with the htm pages, but fails with aspx pages. Some idea? Thanks and sorry for my bad English! Thus wrote Juan,
Show quote > Hello: Does it happen for any request method (GET, POST, ...)? Do you implement > > I'm developing a proxy server in C#-VS2005. It works fine in standard > htm and asp pages. > > When I request an aspx page the client Explorer waits for a very long > time waiting the response, however the proxy server was send to it. > > It’s like the client waits for more data. There is a part of code: > > ... > uri = new Uri(dirurl); // dirurl is the page to read > HttpWebRequest webReq = (HTTPWebRequest) WebRequest.Create(uri); > AñadirCabecera(webReq, DatosCabecera, uri); // New header for > webReq > WebResponse datos; > datos = webReq.GetResponse; > Stream strm=datos.getResponseStream(); > ... > Then I send data through the before opened socket. It work’s fine with > the htm pages, but fails with aspx pages. > > Some idea? HTTP 1.1? -- Joerg Jooss news-re***@joergjooss.de |
|||||||||||||||||||||||