[Mono-list] XSP error

Piers Haken piersh@friskit.com
Tue, 12 Aug 2003 01:00:18 -0700


I should add that I get the same exception thrown if the client is
Mozilla. However, in that case the last line before the exception is
'FlushResponse' instead of 'SendResponseFromMemory'. I can't work out
why the connection is being closed early...

Piers.

> -----Original Message-----
> From: Piers Haken=20
> Sent: Monday, August 11, 2003 11:56 AM
> To: Gonzalo Paniagua Javier; mono-list@lists.ximian.com
> Subject: RE: [Mono-list] XSP error
>=20
>=20
> Yup, it's with current CVS of everything running monodoc on=20
> XSP with the following URL:
> 	http://my-machine:8080/monodoc.ashx?tree=3D2
>=20
> Piers.
>=20
> > -----Original Message-----
> > From: Gonzalo Paniagua Javier [mailto:gonzalo@ximian.com]
> > Sent: Monday, August 11, 2003 11:45 AM
> > To: mono-list@lists.ximian.com
> > Subject: Re: [Mono-list] XSP error
> >=20
> >=20
> > El lun, 11-08-2003 a las 19:41, Piers Haken escribi=F3:
> > > Can anyone explain the following output from XSP?
> > >=20
> > >=20
> > > SendUnknownResponseHeader (Content-Encoding, gzip)
> > > HeadersSent() -> False
> > > SendUnknownResponseHeader (Connection, Close)
> > > SendUnknownResponseHeader (X-Powered-By, Mono)=20
> > > SendUnknownResponseHeader (Date, Mon, 11 Aug 2003 17:30:27 GMT)
> > > HeadersSent() -> False
> > > SendUnknownResponseHeader (Content-Type, text/xml; =
charset=3Dutf-8)
> > > HeadersSent() -> False
> > > SendUnknownResponseHeader (Set-Cookie,=20
> > > ASPSESSION=3D1386c80e-1915-420e-88fd-7f97be
> > > 058567; path=3D/)
> > > SendResponseFromMemory (9865)
> > > CloseConnection()
> > > SendResponseFromMemory (20)
> > > System.ObjectDisposedException: The object was used after being=20
> > > disposed
> > >=20
> > > in [0x0001b] (at
> > >=20
> >=20
> /home/server/mono/mcs/class/System/System.Net.Sockets/NetworkStream.cs
> > > :3
> > > 01) 00 System.Net.Sockets.NetworkStream:CheckDisposed ()
> > > in <0x00054> 08=20
> System.Net.Sockets.NetworkStream:CheckDisposed () in=20
> > > [0x00001] (at
> > >=20
> > /home/server/mono/mcs/class/System/System.Net.Sockets/NetworkS
> > tream.cs:2
> > > 81) 00 System.Net.Sockets.NetworkStream:Write (byte[],int,int) in=20
> > > <0x00110> 00 Mono.ASPNET.XSPWorkerRequest:FlushResponse (bool)
> >=20
> > Is that with the current CVS? Do you have a test case to
> > reproduce the problem?
> >=20
> > -Gonzalo
> >=20
> >=20
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-> list
> >=20
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com=20
> http://lists.ximian.com/mailman/listinfo/mono-list
>=20