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