[krbdev.mit.edu #7929] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Jun 2 18:53:31 EDT 2014


Dispatch-style protocol switching for transport

Switch to using per-transport-type functions when a socket that we're
using to communicate with a server becomes readable or writable, and add
them as pointers to the connection state.  The functions are passed the
name of the realm of the server being contacted, as we expect to need
this in the near future.

[nalin at redhat.com: replace macros with typedefs]
[nalin at redhat.com: compare transports with TCP_OR_UDP rather than with 0]

https://github.com/krb5/krb5/commit/606e2ccc0a2546a23761f910482a55c5bf0f98ac
Author: Robbie Harwood (frozencemetery) <rharwood at club.cc.cmu.edu>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 606e2ccc0a2546a23761f910482a55c5bf0f98ac
Branch: master
 src/lib/krb5/os/changepw.c   |    6 +-
 src/lib/krb5/os/os-proto.h   |    1 +
 src/lib/krb5/os/sendto_kdc.c |  297 +++++++++++++++++++++++------------------
 3 files changed, 171 insertions(+), 133 deletions(-)



More information about the krb5-bugs mailing list