|
Line 0
Link Here
|
|
|
1 |
--- mod_wsgi.c.orig 2012-08-22 23:10:44.000000000 -0400 |
| 2 |
+++ mod_wsgi.c 2013-09-12 06:29:36.718830524 -0400 |
| 3 |
@@ -10600,7 +10600,13 @@ |
| 4 |
* will add their own input/output filters to the chain. |
| 5 |
*/ |
| 6 |
|
| 7 |
+#if AP_MODULE_MAGIC_AT_LEAST(20110619,0) |
| 8 |
+ /* For 2.4 a NULL sbh pointer should work. */ |
| 9 |
+ sbh = NULL; |
| 10 |
+#else |
| 11 |
+ /* For 2.2 a dummy sbh pointer is needed. */ |
| 12 |
ap_create_sb_handle(&sbh, p, -1, 0); |
| 13 |
+#endif |
| 14 |
|
| 15 |
c = (conn_rec *)apr_pcalloc(p, sizeof(conn_rec)); |
| 16 |
|