From openldap-bugs Fri Mar 15 07:59:48 2024 From: Howard Chu Date: Fri, 15 Mar 2024 07:59:48 +0000 To: openldap-bugs Subject: Re: [Issue 10190] Stack space exhaustion on windows due to FD_SETSIZE Message-Id: <337754d9-ef99-8841-46a3-4371413a125a () symas ! com> X-MARC-Message: https://marc.info/?l=openldap-bugs&m=171048947118061 openldap-its@openldap.org wrote: > https://bugs.openldap.org/show_bug.cgi?id=10190 > > --- Comment #6 from varunpatil@ucla.edu --- > (In reply to Howard Chu from comment #5) >> (In reply to varunpatil from comment #4) >>>> Patches to change constants that are already redefinable at compile time will not be accepted. >>> >>> Why though? This seems like a very crappy policy. >>> >>> This bug took a very long time to diagnose and I've no doubt others might >>> run into it if they bothered to compile for Windows. >> >> What bug? You haven't identified any bug. OpenLDAP builds and runs fine on >> Windows, and the slapd server handles thousands of concurrent connections, >> same as when built on Linux. There is no bug here. > > Did you even bother to read the description? I don't care if your slapd server > handles millions of connections; fact is that a simple app using libldap can > segfault under certain circumstances on Windows, and I consider this a bug. The code works as designed, and the smooth operation of millions of servers around the world is more important than the opinion of a single self-entitled ignorant prick. It's not the 1980s, you can afford to set your program to use a stack larger than 64K. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/