[Mono-bugs] [Bug 398783] .NET remoting tcp transport when using custom sink

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 18 13:29:09 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=398783

User robertj at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=398783#c11


Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |NEEDINFO
      Info Provider|                                                |paszczi at go2.pl




--- Comment #11 from Robert Jordan <robertj at gmx.net>  2008-06-18 11:29:09 MDT ---
Maciej, your code is still buggy:

       public void ProcessMessage (IMessage msg, ITransportHeaders
requestHeaders,
            Stream requestStream, out ITransportHeaders responseHeaders, out
Stream responseStream)
        {
            //first check whether secure connection is setup
            if (!IsConnectionSecured ())
            {
                lock (m_padlock)
                {
                    //setup secure connection


--->                    SetupSecureConnection (msg);
                }
            }


SetupSecureConnection is passing an empty request stream to the next sink.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list