OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Marc Balmer (mbalmercvs.openbsd.org)
Date: Fri Jul 04 2008 - 09:39:37 CDT


CVSROOT: /cvs
Module name: src
Changes by: mbalmercvs.openbsd.org 2008/07/04 08:39:37

Modified files:
        usr.sbin/httpd/src/modules/proxy: proxy_http.c
        usr.sbin/httpd/src/modules/ssl: ssl_engine_ext.c

Log message:
Make the proxy module work with https again by allowing the destination
port to be set in the config file instead of using HTTP_DEFAULT_PORT
in all cases. Prevent a segfault that would happen when the SSL
connection from the proxy fails.

Problem found and analyzed by Mischa Diehm; fix by me.