Floris Bruynooghe
2010-01-05 03:19:57 UTC
Hi
When the giopMaxMsgSize is exceeded the server code never knows this
and the client code just gets a COMM_FAILURE instead of a more
meaningful error.
Is it somehow possible to calculate the size of a message before
sending it on the server side? Basically perform the marshalling
(from within python) and check the result so you could decide to raise
a custom exception which is more specific. (Bonus points for then
being able to send this already marshalled data instead of having to
repeat that)
Thanks
Floris
When the giopMaxMsgSize is exceeded the server code never knows this
and the client code just gets a COMM_FAILURE instead of a more
meaningful error.
Is it somehow possible to calculate the size of a message before
sending it on the server side? Basically perform the marshalling
(from within python) and check the result so you could decide to raise
a custom exception which is more specific. (Bonus points for then
being able to send this already marshalled data instead of having to
repeat that)
Thanks
Floris
--
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org