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

Re: More on the hang bug (ITS#980)



So it looks like there are three ways of resolving this problem. Which is
the openldaply correct one?

1. Change the select in step 6 of followup 3 to only look at the
referred-to server, and not the referring server. Then, hopefully the
referring server's socket will not be read from, so the select in step 8
will notice there is data and immediately return

2. Don't select in step 8 because the referring server has already sent
the search result and so there's nothing to wait for

3. Do select in step 8, but beforehand, send the unbind request