[Mono-bugs] [Bug 79222][Nor] Changed - SSL support in XSP doesn't work
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Sep 3 11:06:38 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79222
--- shadow/79222 2006-09-02 14:50:39.000000000 -0400
+++ shadow/79222.tmp.16855 2006-09-03 11:06:38.000000000 -0400
@@ -45,6 +45,37 @@
Mono.Security.dll but with svn the issue of connection hanging still
remains (regardless of version of Mono.Security.dll)
------- Additional Comments From sebastien at ximian.com 2006-09-02 14:50 -------
Bug may be located inside XSP
http://lists.ximian.com/archives/public/mono-devel-list/2006-September/020226.html
+
+------- Additional Comments From sebastien at ximian.com 2006-09-03 11:06 -------
+Gonzalo, applying this patch makes XSP work when using
+Mono.Security.dll from 1.1.13.x (but not 1.1.17/HEAD). Will fix the
+later problem...
+
+Index: src/Mono.WebServer/XSPApplicationHost.cs
+===================================================================
+--- src/Mono.WebServer/XSPApplicationHost.cs (revision 64801)
++++ src/Mono.WebServer/XSPApplicationHost.cs (working copy)
+@@ -347,14 +347,14 @@
+ {
+ initial = new InitialWorkerRequest (stream);
+ byte [] buffer =
+InitialWorkerRequest.AllocateBuffer ();
+- sock.BeginReceive (buffer, 0, buffer.Length,
+SocketFlags.None, new AsyncCallback (ReadCB), buffer);
++ stream.BeginRead (buffer, 0, buffer.Length,
+new AsyncCallback (ReadCB), buffer);
+ }
+
+ void ReadCB (IAsyncResult ares)
+ {
+ byte [] buffer = (byte []) ares.AsyncState;
+ try {
+- int nread = sock.EndReceive (ares);
++ int nread = stream.EndRead (ares);
+ // See if we got at least 1 line
+ initial.SetBuffer (buffer, nread);
+ initial.ReadRequestData ();
+
More information about the mono-bugs
mailing list