Paul wrote: >> I'm not aware of a ClientCnx.FPostedStream, looks like your own >> derived class, isn't it? > > Sorry, forgot to add. > Yes, it is part of a THttpConnection class > It's the stream sent by a client that I want to store directly in an > object. But I think I''m facing problems trying to do so.
> Does the server free this stream anyways when a client disconnects ? No, unless FPostedStream.Free is called just the second reference FPostedStream is gone when the instance of THttpConnection is destroyed. > ClientCnx.FPostedStream := (MyObject.InStream as TMemoryStream).Create; What is your intention with calling the constructor here? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > Paul > > > ----- Original Message ----- > > > From: "Arno Garrels" <arno.garr...@gmx.de> > To: "ICS support mailing" <firstname.lastname@example.org> > Sent: Monday, January 19, 2009 8:28 PM > Subject: Re: [twsocket] HttpServer FPostedStream > > >>> Does the server free this stream anyways when a client disconnects ? >> >> I'm not aware of a ClientCnx.FPostedStream, looks like your own >> derived class, isn't it? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be