https://issues.apache.org/bugzilla/show_bug.cgi?id=51689
Bug #: 51689
Summary: Cross compiling causes multiple Listen directives to
not work properly
Product: Apache httpd-2
Version: 2.2.19
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
When i cross-compile Apache 2.2.19 and add in two Listen directives in the
httpd.conf file like
Listen 80
Listen 8080
and then when i start the apache server and make a request to either of the
ports, the call gets hung and never returns. This works fine if i specify only
one Listen directive or if i don't cross compile apache.
This is causing issues when i try to enable ssl and have both 80 and 443
enabled on the server, the calls to port 80 are getting hung.
This is the what i used to configure apache.
CFLAGS="$(TARGET_CFLAGS) -DBIG_SECURITY_HOLE " \
ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes
apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=no
apr_cv_tcp_nodelay_with_cork=yes apr_cv_mutex_recursive=yes
ap_cv_void_ptr_lt_long=no ac_cv_sizeof_struct_iovec=8 ac_cv_struct_rlimit=yes \
./configure \
--with-mpm=prefork \
--with-included-apr \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr/local/apache2 \
);
$(MAKE) $(CFLAGS) -C $(APACHE2_DIR)
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(APACHE2_DIR) install
Let me know if there is a work around for this.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]