Open GoogleCodeExporter opened 9 years ago
Okay, I got it working. The solution I have is not perfect, so I won't post a
patch, but essentially I set a flag in the PythonHeaderParserHandler phase and
moved the transfer_data call to the PythonHandler phase. I used "SetHandler
mod_python" on the web socket location to enable the PythonHandler phase.
The only "problem" I can see is that the socket does open for an instant, but
if the auth handler causes any redirect or error, the socket will die before
any data can be sent.
Anyway, I hope this can be done in a more clean manner, I consider it to be a
very essential thing to have when dealing with secure data over web sockets.
Original comment by andreasblixt
on 19 Jul 2011 at 11:04
Original issue reported on code.google.com by
andreasblixt
on 19 Jul 2011 at 2:41