[30630] in Kerberos

home help back first fref pref prev next nref lref last post

Re: krb5_sendauth vs NAGLE vs DelayedAck

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Thu Jan 15 14:20:44 2009

From: Ken Raeburn <raeburn@mit.edu>
To: John Hascall <john@iastate.edu>
In-Reply-To: <894.1232030469@malison.ait.iastate.edu>
Message-Id: <6A7C6331-CEBB-4EE5-9A83-7DC18C92093A@MIT.EDU>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Thu, 15 Jan 2009 14:20:02 -0500
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On Jan 15, 2009, at 09:41, John Hascall wrote:
> I think you might want to also change krb5_sendauth() to
> call krb5int_net_writev() directly (or yet another helper
> function!) since krb5_sendauth() will still be doing two
> consecutive writes where it does the two version strings:

Yeah, I missed that, thanks.  I've just checked in another fix.
There are also multiple calls possible in recvauth but it's not  
unconditionally doing two successive writes, so some rearranging of  
code would be needed there; the hardest bit would probably be making  
sure multiple paths through the code get tested.  If you feel like  
tackling it, that'd be great, but I'm going to get back to my current  
project for a bit.

Ken
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post