diff options
author | Dr Scofield | 2008-05-29 15:46:54 +0000 |
---|---|---|
committer | Dr Scofield | 2008-05-29 15:46:54 +0000 |
commit | d7ec68669151b75cba1a5a213c653b4d365cf962 (patch) | |
tree | 2c9cd41eb4903dc91574d02fafcfe4d3eb6891ba /OpenSim/Framework/Servers/OSHttpRequest.cs | |
parent | attempting to get to the bottom of unresponsive grids servers by (diff) | |
download | opensim-SC-d7ec68669151b75cba1a5a213c653b4d365cf962.zip opensim-SC-d7ec68669151b75cba1a5a213c653b4d365cf962.tar.gz opensim-SC-d7ec68669151b75cba1a5a213c653b4d365cf962.tar.bz2 opensim-SC-d7ec68669151b75cba1a5a213c653b4d365cf962.tar.xz |
this is a snapshot of the OSHttpServer work-in-progress. it's an initial skeleton,
far from complete, just want to check in early and often.
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpRequest.cs')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpRequest.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpRequest.cs b/OpenSim/Framework/Servers/OSHttpRequest.cs index a290e0e..dac2347 100644 --- a/OpenSim/Framework/Servers/OSHttpRequest.cs +++ b/OpenSim/Framework/Servers/OSHttpRequest.cs | |||
@@ -44,7 +44,9 @@ namespace OpenSim.Framework.Servers | |||
44 | private string _httpMethod; | 44 | private string _httpMethod; |
45 | private Stream _inputStream; | 45 | private Stream _inputStream; |
46 | private bool _isSecureConnection; | 46 | private bool _isSecureConnection; |
47 | private bool _isAuthenticated; | ||
47 | private bool _keepAlive; | 48 | private bool _keepAlive; |
49 | private bool _hasbody; | ||
48 | private string _rawUrl; | 50 | private string _rawUrl; |
49 | private Uri _url; | 51 | private Uri _url; |
50 | private NameValueCollection _queryString; | 52 | private NameValueCollection _queryString; |
@@ -95,6 +97,16 @@ namespace OpenSim.Framework.Servers | |||
95 | get { return _isSecureConnection; } | 97 | get { return _isSecureConnection; } |
96 | } | 98 | } |
97 | 99 | ||
100 | public bool IsAuthenticated | ||
101 | { | ||
102 | get { return _isAuthenticated; } | ||
103 | } | ||
104 | |||
105 | public bool HasEntityBody | ||
106 | { | ||
107 | get { return _hasbody; } | ||
108 | } | ||
109 | |||
98 | public bool KeepAlive | 110 | public bool KeepAlive |
99 | { | 111 | { |
100 | get { return _keepAlive; } | 112 | get { return _keepAlive; } |
@@ -133,8 +145,10 @@ namespace OpenSim.Framework.Servers | |||
133 | _cookies = req.Cookies; | 145 | _cookies = req.Cookies; |
134 | _headers = req.Headers; | 146 | _headers = req.Headers; |
135 | _httpMethod = req.HttpMethod; | 147 | _httpMethod = req.HttpMethod; |
148 | _hasbody = req.HasEntityBody; | ||
136 | _inputStream = req.InputStream; | 149 | _inputStream = req.InputStream; |
137 | _isSecureConnection = req.IsSecureConnection; | 150 | _isSecureConnection = req.IsSecureConnection; |
151 | _isAuthenticated = req.IsAuthenticated; | ||
138 | _keepAlive = req.KeepAlive; | 152 | _keepAlive = req.KeepAlive; |
139 | _rawUrl = req.RawUrl; | 153 | _rawUrl = req.RawUrl; |
140 | _url = req.Url; | 154 | _url = req.Url; |