Menu

#7 Connection timed out on 64-bit platforms

closed-fixed
nobody
None
8
2002-05-13
2002-05-12
saperski
No

Inconsistent (unsigned long) and (long) handling.
How

static bool
readResponse(rpcClient *cp, PyObject **bodyp, ulong blen)

and

...
if (blen < 0) {

later were supposed to work?

Moreover, the number of bytes was parsed as (int)
from the tuple, not as (long), which produced
"Connection timed out" on 64-bit platforms
(I have tried Solaris 8 and HP/UX 11.00).

Discussion

  • saperski

    saperski - 2002-05-12

    rpcClient.c unsigned long patch

     
  • saperski

    saperski - 2002-05-12
    • summary: Connection timed out pn 64-bit platforms --> Connection timed out on 64-bit platforms
     
  • saperski

    saperski - 2002-05-12
    • priority: 5 --> 8
     
  • Shilad Sen

    Shilad Sen - 2002-05-13

    Logged In: YES
    user_id=184164

    I've applied the patch to the CVS archives. It will be
    available in the next release. I've tried to fix a couple
    more instances of things like this in rpcServer, but I
    wouldn't be suprised if there are more in there.

     
  • Shilad Sen

    Shilad Sen - 2002-05-13
    • status: open --> closed-fixed
     

Log in to post a comment.