Great Circle Associates Majordomo-Workers
(May 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Problem with Majordomo 2.0 installation
From: rms39 @ columbia . edu (Russell Steinthal)
Date: Sat, 09 May 1998 21:53:15 -0300
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Cc: majordomo-workers @ greatcircle . com
In-reply-to: Your message of "09 May 1998 01:46:10 CDT." <ufasomkt00d.fsf@sina.hpc.uh.edu>

Jason Tibbetts wrote:

> >>>>> "RS" == Russell Steinthal <rms39@columbia.edu> writes:
> 
> RS> We're probably nearing the limits of my socket programming knowledge,
> 
> No problem; I just expanded mine a bit.  The moral: when the Camel says not
> to mix select and buffered reads unless you really know what you're doing,
> and you don't really know what you're doing, you should heed the warning.
> The problem is, of course, that the getline call reads a lot more than one
> line and stuffs the rest in a buffer somewhere.  Then the next select call
> comes up and it fails because there's nothing left to read from the socket.
> It's all in the buffer...
> 
> Thankfully everything's OO down there, so I can make one localized change
> and everything else should fall into place.
> 
> Please try this patch on for size:

[snip]

Thanks, it seems to have fixed the problem.  So now on to configuring and 
testing this thing for real... :)

-Russell

-- 
Russell Steinthal
<rms39@columbia.edu>		Columbia College Class of 1999
<steintr@avnet.org>		System Administrator, AV-Network





References:
Indexed By Date Previous: Re: Problem w/ new Majordomo 2.0 installation
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Single-command address
From: Brock Rozen <brozen@torah.org>
Indexed By Thread Previous: Re: Problem with Majordomo 2.0 installation
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: Problem with Majordomo 2.0 installation
From: Michael Alan Dorman <mdorman@law.miami.edu>

Google
 
Search Internet Search www.greatcircle.com