[omniORB] Problem with deeply nested structs.

Duncan Grisby dgrisby@uk.research.att.com
Thu, 21 Mar 2002 11:14:31 +0000


On Friday 15 March, baileyk@schneider.com wrote:

> Perhaps you can point me to where the recursion is done.  Is it in the
> omniidl generated stub code or in the orb core itself?  I might try to add
> a configurable recusion limit and throw a MARSHAL exception so that it
> fails more gracefully.

It's done in the stubs. Each thing that can be marshalled has an
operator >>= that does the marshalling. You can see the recursion
there. The way it's structured, it won't be at all easy to add a
recursion count.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --