Hi,
I can't send 'Connection: Keep-Alive' property in the second connection
of my HttpWebRequest. Suppose:
HttpWebRequest hreq = .....
hreq.KeepAlive = true;
HttpWebResponse hresp = GetResp()....
------
here, it's OK, when i analyse packets with ethereal, I see 'Connection:
Keep-Alive. Then comes the seconde connection
-------
hreq = .....
hreq.KeepAlive = true;
-------
this time hreq.Method = "POST", and whatever I do, I can't manage to set
KeepAlive property. Interestingly enough, when I debug, KeepAlive is
always true, but there is no Connection: Keep-Alive line in the headers
sent to server...
Any help?
Thanks