请求带有 jpg 图像的简单 HTML 页面会使 XSP2 崩溃。如果我从 HTML 中删除图像,则页面始终可以正常提供。
版本是 XSP2 2.0 单声道 2.6.1。同一台机器上的 2.4.2.2 版本工作正常。
我已经在两台不同的机器上测试过它,都是 Windows Vista Business SP1。
有人有过同样的经历吗?有什么线索可以解决问题吗?
下面是控制台显示的堆栈跟踪:(西班牙语中的行说“它已被远程主机强制中断现有连接”)
编辑:
由于另一个用户遇到了同样的问题,我向 Novell 提交了一个错误并创建了一个小 zip 来重现该问题:https ://bugzilla.novell.com/show_bug.cgi?id=582162
Peer unexpectedly closed the connection on write. Closing our end.
System.IO.IOException: Write failure ---> System.Net.Sockets.SocketException: Se
ha forzado la interrupción de una conexión existente por el host remoto.
at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size
, SocketFlags flags) [0x00000] in <filename unknown>:0
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset,
Int32 size) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset,
Int32 size) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSPWorker.Write (System.Byte[] buffer, Int32 position, Int32
size) [0x00000] in <filename unknown>:0
Peer unexpectedly closed the connection on write. Closing our end.
System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in <filename un
known>:0
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset,
Int32 size) [0x00000] in <filename unknown>:0
at Mono.WebServer.XSPWorker.Write (System.Byte[] buffer, Int32 position, Int32
size) [0x00000] in <filename unknown>:0
谢谢你。