summaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorBill Stoddard <stoddard@apache.org>2002-01-17 23:35:09 +0100
committerBill Stoddard <stoddard@apache.org>2002-01-17 23:35:09 +0100
commitca30c4d622c9006f2466e447a517fdfaeee90e87 (patch)
treefd09aae332f4dc7453bf885de173848f26be4ad3 /os
parentget the declaration of strcasecmp() on AIX (diff)
downloadapache2-ca30c4d622c9006f2466e447a517fdfaeee90e87.tar.xz
apache2-ca30c4d622c9006f2466e447a517fdfaeee90e87.zip
On HPUX 11.x, the 'ENOBUFS, No buffer space available'
error occures because the accept() cannot complete. You will not see ENOBUFS at 10.20 because the kernel hides any occurrence from being returned from user space. ENOBUFS at 11.0 TCP/IP is quite possible, and could occur intermittently. As a work-around, we are going to ingnore ENOBUFS. Submitted by: madhusudan_mathihalli@hp.com Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92894 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r--os/unix/unixd.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/os/unix/unixd.c b/os/unix/unixd.c
index e023c3864e..f7061bdc07 100644
--- a/os/unix/unixd.c
+++ b/os/unix/unixd.c
@@ -485,6 +485,18 @@ AP_DECLARE(apr_status_t) unixd_accept(void **accepted, ap_listen_rec *lr,
* to just exit in most cases.
*/
switch (status) {
+#if defined(HPUX11) && defined(ENOBUFS)
+ /* On HPUX 11.x, the 'ENOBUFS, No buffer space available'
+ * error occures because the accept() cannot complete.
+ * You will not see ENOBUFS at 10.20 because the kernel
+ * hides any occurrence from being returned from user space.
+ * ENOBUFS at 11.0 TCP/IP is quite possible, and could
+ * occur intermittently. As a work-around, we are going to
+ * ingnore ENOBUFS.
+ */
+ case ENOBUFS:
+#endif
+
#ifdef EPROTO
/* EPROTO on certain older kernels really means
* ECONNABORTED, so we need to ignore it for them.