Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP
Commits: cd43b11a by Ondřej Kuzník at 2026-03-11T14:42:47+02:00 ITS#10364 Switch to processing one (search entry) message at a time
We need to use MSG_ONE and process each message one at a time, since reading all available messages with MSG_ALL causes ldap_result to discard intermediate unsolicited messages.
- - - - - 745503ec by Nadezhda Ivanova at 2026-03-11T14:42:47+02:00 ITS#10364 back-asyncmeta should process a notice-of-disconnect and close the target connection
Asyncmeta will now accept a Notice of Disconnect unsolicited message, but still ignore all other unsolicited messages. When an NoD is received, asyncmeta will stop using the connection to proxy requests. It will wait until all pending operations receive a response or time-out and then close the connection, unless the target does it first.
- - - - -
7 changed files:
- servers/slapd/back-asyncmeta/meta_result.c - + tests/data/asyncmeta.1closed.out - + tests/data/asyncmeta.1closing.out - + tests/data/asyncmeta.1open.out - + tests/data/slapd-asyncmeta-nod.conf - tests/scripts/defines.sh - + tests/scripts/test092-asyncmeta-nod
View it on GitLab: https://git.openldap.org/openldap/openldap/-/compare/4e1709c8661153f9e456178...