RE: Chunk size
"Maslowski, Chuck" <[email protected]> Wed, 2 Apr 2008 12:44:32 -0500
| Newsgroups | gmane.comp.corba.omniorb.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you for the quick response. I sent it to omni-dev since I thought = it would be categorized as an "enhancement request" If I really want to get this accomplished with configuration options, = and choose to pay for the work, could I contact Apasphere? -----Original Message----- From: Duncan Grisby [mailto:[email protected]] Sent: Wednesday, April 02, 2008 12:38 PM To: Maslowski, Chuck Cc: [email protected] Subject: Re: [omniORB-dev] Chunk size=20 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. --=20 -- Duncan Grisby -- -- [email protected] -- -- http://www.grisby.org --