* HttpListenerRequest.cs: always initialize 'version'.
* HttpConnection.cs: the socket might already be disconnected when
shutting down.
svn path=/branches/mono-2-2/mcs/; revision=123454
+2009-01-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * HttpListenerRequest.cs: always initialize 'version'.
+ * HttpConnection.cs: the socket might already be disconnected when
+ shutting down.
+
2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnectionStream.cs: if the buffer has been killed, return -1 for
sock = null;
try {
s.Shutdown (SocketShutdown.Both);
+ } catch {
} finally {
s.Close ();
}
this.context = context;
headers = new WebHeaderCollection ();
input_stream = Stream.Null;
+ version = HttpVersion.Version10;
}
static char [] separators = new char [] { ' ' };