Copterfly / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

Running mod_wsgi daemon mode with HTTPS causing crash. #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When using mod_wsgi embedded mode with a HTTPS site everything runs okay.
When using mod_wsgi daemon mode with a HTTPS site however, certain
configurations or Apache versions will result in daemon process crashing
when a request arrives. This is believed to only affect Apache 2.2 at this
point in time. For discussions on this issue see:

  http://groups.google.com/group/modwsgi/browse_frm/thread/3cba73baaa00a437

At present issue appears to be that SSL input/output filters are being
installed when we don't want them to be. This is causing a crash due to not
all data being setup to support SSL, plus, the Apache child process isn't
going to talk SSL to daemon process anyway, so there would be a
disagreement on data format.

Original issue reported on code.google.com by Graham.Dumpleton@gmail.com on 17 Sep 2007 at 5:51

GoogleCodeExporter commented 8 years ago
This has been fixed at revision 520 in 1.X branch. Ie.,

  http://modwsgi.googlecode.com/svn/branches/mod_wsgi-1.X

Fix was to replace standard Apache connection setup code in daemon process with
equivalent that avoided possibility that other Apache modules would get an
opportunity to register connection level input/output filters.

Original comment by Graham.Dumpleton@gmail.com on 18 Sep 2007 at 9:55

GoogleCodeExporter commented 8 years ago

Original comment by Graham.Dumpleton@gmail.com on 21 Sep 2007 at 12:51

GoogleCodeExporter commented 8 years ago
Suspected that real problem was actually a conflict with use of mod_logio. All 
the same, fixed in version 1.1of 
mod_wsgi.

Original comment by Graham.Dumpleton@gmail.com on 1 Oct 2007 at 3:23