зеркало из https://github.com/mono/xsp.git
Backport of r155319
svn path=/branches/mono-2-6/xsp/; revision=155320
This commit is contained in:
Родитель
b86e6bec92
Коммит
1e14a1752e
|
@ -1,3 +1,8 @@
|
||||||
|
2010-04-13 Marek Habersack <mhabersack@novell.com>
|
||||||
|
|
||||||
|
* ModMonoRequest.cs: SendResponseFromMemory must advance the
|
||||||
|
pointer when not on Linux.
|
||||||
|
|
||||||
2010-03-31 Marek Habersack <mhabersack@novell.com>
|
2010-03-31 Marek Habersack <mhabersack@novell.com>
|
||||||
|
|
||||||
* man/xsp.1.in: updated documentation of the --nonstop
|
* man/xsp.1.in: updated documentation of the --nonstop
|
||||||
|
|
|
@ -322,6 +322,7 @@ namespace Mono.WebServer
|
||||||
byte [] buf = writer_ms.GetBuffer ();
|
byte [] buf = writer_ms.GetBuffer ();
|
||||||
Marshal.Copy (ptr, buf, 0, size);
|
Marshal.Copy (ptr, buf, 0, size);
|
||||||
length -= size;
|
length -= size;
|
||||||
|
unsafe { ptr = (IntPtr)((byte*)ptr.ToPointer () + size); }
|
||||||
client.Send (buf, size, SocketFlags.None);
|
client.Send (buf, size, SocketFlags.None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче