[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: When must slap_callback.sc_writewait be set?



Hallvard Breien Furuseth wrote:
When is it safe to leave sc_writewait uninitialized?  The field
seems to have emerged in the middle of RE24, and I don't see any
flags which say it should/should not be used.

Where would such flags reside?

Since not setting it crashed back-relay in ITS#8428, does that
mean everything which creates a slap_callback should set it?

Yes.

Seems unfortunate for third-party modules...

Also, I think this should be documented.


--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/