Re: Initial problems with CORBA::ORBit



On Fri, 27 Apr 2001, Peter Lord wrote:

>         incomplete message received at server line 183.

Ahh, had the same problem the other day myself. You're using ORBit >=
0.5.6 - yes?

Either check out orbit-perl from CVS or apply this patch to
demarchal.c (in orbit-perl).

Good Luck,
Mark.

--- demarshal.old	Fri Apr 27 09:55:54 2001
+++ demarshal.c	Fri Apr 27 09:55:47 2001
@@ -7,7 +7,7 @@
 #include "types.h"

 #define RECV_BUFFER_LEFT(buf) \
- (((guchar *)buf->message_body + GIOP_MESSAGE_BUFFER(buf)->message_header.message_size) - (guchar *)buf->cur)
+ (((guchar *)buf->message_body + 12 + GIOP_MESSAGE_BUFFER(buf)->message_header.message_size) - (guchar *)buf->cur)


 static CORBA_boolean





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]