dd7be8
dd7be8
Fix scoreboard handling.
dd7be8
dd7be8
https://bugzilla.redhat.com/show_bug.cgi?id=867276
dd7be8
dd7be8
http://code.google.com/p/modwsgi/source/detail?path=/mod_wsgi.c&name=mod_wsgi-3.X&r=bdbeacb88f348909845445e9d52eb7be401abaf1
dd7be8
dd7be8
--- mod_wsgi-3.4/mod_wsgi.c.connsbh
dd7be8
+++ mod_wsgi-3.4/mod_wsgi.c
dd7be8
@@ -10600,7 +10600,13 @@ static void wsgi_process_socket(apr_pool
dd7be8
      * will add their own input/output filters to the chain.
dd7be8
      */
dd7be8
 
dd7be8
+#if AP_MODULE_MAGIC_AT_LEAST(20110619,0)
dd7be8
+    /* For 2.4 a NULL sbh pointer should work. */
dd7be8
+    sbh = NULL;
dd7be8
+#else
dd7be8
+    /* For 2.2 a dummy sbh pointer is needed. */
dd7be8
     ap_create_sb_handle(&sbh, p, -1, 0);
dd7be8
+#endif
dd7be8
 
dd7be8
     c = (conn_rec *)apr_pcalloc(p, sizeof(conn_rec));
dd7be8