Re: Chunk size
Duncan Grisby <[email protected]> Wed, 02 Apr 2008 18:38:28 +0100
| Newsgroups | gmane.comp.corba.omniorb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday 1 April, "Maslowski, Chuck" wrote: > I apologize if this has been asked & answered already. I browsed the > development archives & didn't see anything relevant. This is really a question for the main omniORB list, not for omniorb-dev. > We have run into some interoperability issues & I would like to know how to: > 1) shut off GIOP fragmentation dynamically through a configuration > option, or, You can only shut off GIOP fragmentation by choosing to use GIOP 1.0, by setting the maxGIOPVersion parameter to "1.0". > 2) increase the "chunk" size dynamically through a configuration option There's no proper configuration option, but you can modify the static variable omniORB uses to choose its buffer size, which corresponds to the usual fragment size (sometimes larger fragments are sent). You need to #include <omniORB4/internal/giopStream.h> and then modify the value of omni::giopStream::bufferSize. The default value is 8192. Cheers, Duncan. -- -- Duncan Grisby -- -- [email protected] -- -- http://www.grisby.org --