Only send the used portion of struct idm_req in imsgs from the ldapclient
authorjmatthew <jmatthew@openbsd.org>
Fri, 31 Mar 2023 03:38:26 +0000 (03:38 +0000)
committerjmatthew <jmatthew@openbsd.org>
Fri, 31 Mar 2023 03:38:26 +0000 (03:38 +0000)
commit45c961faa6468ade2a35551e902e0bcddc65e377
tree9fa50878a26b4386f1fc86b45457e67500669eec
parent1ae6e8487f56e48da65f58b5044887fd3114c4b5
Only send the used portion of struct idm_req in imsgs from the ldapclient
process to the main process. This significantly reduces memory usage when
updating larger directories.

ok aisha@
usr.sbin/ypldap/ldapclient.c
usr.sbin/ypldap/ypldap.c