From 158ceac655218cac0bb8c87c328453862f315254 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 17 Nov 2012 07:18:22 +0100 Subject: mod_wsgi: backport --- mod_wsgi-3.4-connsbh.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mod_wsgi-3.4-connsbh.patch (limited to 'mod_wsgi-3.4-connsbh.patch') diff --git a/mod_wsgi-3.4-connsbh.patch b/mod_wsgi-3.4-connsbh.patch new file mode 100644 index 0000000..a7c5925 --- /dev/null +++ b/mod_wsgi-3.4-connsbh.patch @@ -0,0 +1,16 @@ +--- mod_wsgi-3.4/mod_wsgi.c.connsbh ++++ mod_wsgi-3.4/mod_wsgi.c +@@ -10600,7 +10600,13 @@ static void wsgi_process_socket(apr_pool + * will add their own input/output filters to the chain. + */ + ++#if AP_MODULE_MAGIC_AT_LEAST(20110619,0) ++ /* For 2.4 a NULL sbh pointer should work. */ ++ sbh = NULL; ++#else ++ /* For 2.2 a dummy sbh pointer is needed. */ + ap_create_sb_handle(&sbh, p, -1, 0); ++#endif + + c = (conn_rec *)apr_pcalloc(p, sizeof(conn_rec)); + -- cgit