~ubuntu-branches/ubuntu/wily/mod-wsgi/wily-proposed

« back to all changes in this revision

Viewing changes to mod_wsgi.c

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-08-10 18:17:01 UTC
  • Revision ID: package-import@ubuntu.com-20130810181701-vtkp8wts3vu4af8w
Tags: 3.4-4
* Fix wsgi applications segfaulting when run in daemon mode under Apache 2.4.
  Thanks to Stephan Adig. (Closes: #719304)
  - Add fix_crash_daemon_mode.patch, cherry-picked from upstream.
* Add myself as uploader.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10600
10600
     * will add their own input/output filters to the chain.
10601
10601
     */
10602
10602
 
 
10603
#if AP_MODULE_MAGIC_AT_LEAST(20110619,0)
 
10604
    /* For 2.4 a NULL sbh pointer should work. */
 
10605
    sbh = NULL;
 
10606
#else
 
10607
    /* For 2.2 a dummy sbh pointer is needed. */
10603
10608
    ap_create_sb_handle(&sbh, p, -1, 0);
 
10609
#endif
10604
10610
 
10605
10611
    c = (conn_rec *)apr_pcalloc(p, sizeof(conn_rec));
10606
10612