in reply to Multiplexing HTTPS server, peer cert authentication problem.
Instead of spawning new processes to handle requests like apache does or forking or threading, the daemonets could write the request to a fifo. That way you can separate the asynchronous process of collecting and filing requests from the synchronous process of reading off the queue and servicing them - it is generally a good idea not to mix asynchronous and synchronous processing in the same process (this being what seems to be at the root of it all) - in fact that would be an oxyMoron ;)while ($request = $listen->accept()) { # handle request ... BUT ...read on }
-M
Free your mind
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Multiplexing HTTPS server, peer cert authentication problem.
by erroneousBollock (Curate) on Mar 06, 2007 at 01:44 UTC | |
by Moron (Curate) on Mar 06, 2007 at 10:40 UTC | |
by erroneousBollock (Curate) on Mar 06, 2007 at 12:18 UTC | |
by Moron (Curate) on Mar 06, 2007 at 12:25 UTC | |
by erroneousBollock (Curate) on Mar 06, 2007 at 14:10 UTC | |
|