projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbe98b
)
Fix of mixup bwtween SOMAXCONN and SO_MAXCONN.
author
Richard Levitte
<levitte@openssl.org>
Fri, 29 Mar 2002 23:48:55 +0000
(23:48 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 29 Mar 2002 23:48:55 +0000
(23:48 +0000)
Furthermore, make SO_MAXCONN the first choice, since that's the standard
(as far as I know).
crypto/bio/b_sock.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_sock.c
b/crypto/bio/b_sock.c
index 6d77b9d8d40d64e5b29820b950b3e92c86249dc0..dcaef68ea7cf658677bc3120666a4dc25a439202 100644
(file)
--- a/
crypto/bio/b_sock.c
+++ b/
crypto/bio/b_sock.c
@@
-72,9
+72,9
@@
#endif
#ifdef SO_MAXCONN
-#define MAX_LISTEN SOMAXCONN
-#elif defined(SO_MAXCONN)
#define MAX_LISTEN SO_MAXCONN
+#elif defined(SOMAXCONN)
+#define MAX_LISTEN SOMAXCONN
#else
#define MAX_LISTEN 32
#endif