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