[omniORB] Problem with large requests (WinNT)

Clarke Brunt clarke.brunt at yeomannavigation.co.uk
Mon Jul 19 20:12:49 BST 2004


Following up my own message (failure in tcpConnection.cc on WinNT attempting
to call :send with a size of >12Mb approx):

I've experimentally added:

#ifdef __WIN32__
  // Clarke Brunt, 19/7/2004, try smaller chunks
  if (sz >= 0x400000) sz = 0x400000 - 8;
#endif

i.e. similar to the #ifdef __VMS code that is there already, to make it send
in 4Mb chunks. I'd never built OmniORB from source on Windows before, but
was relatively painless. It now works fine.

Still, I'd appreciate knowing whether the failure I observed is due to some
limitation on NT, or the confuguration of my machine, or what? If it
_always_ happens, then something like my added code might usefully be
included in the official source.

--
Clarke Brunt, Principal Software Engineer, Yeoman Navigation




More information about the omniORB-list mailing list