Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Multiplexing HTTPS server, peer cert authentication problem.

by Moron (Curate)
on Mar 05, 2007 at 16:56 UTC ( [id://603244]=note: print w/replies, xml ) Need Help??


in reply to Multiplexing HTTPS server, peer cert authentication problem.

Were forks as well as threads eliminated from the original state of the problem?

-M

Free your mind

  • Comment on Re: Multiplexing HTTPS server, peer cert authentication problem.

Replies are listed 'Best First'.
Re^2: Multiplexing HTTPS server, peer cert authentication problem.
by erroneousBollock (Curate) on Mar 05, 2007 at 17:23 UTC
    In my testing (on Windows) fork() ended up using Threads.pm, which made IO::Socket::SSL break.

    I am using threads, just not to do communication with clients.
    The package which contains the multiplexing https server has a reference to a 'dispatcher' object with methods like:
    * dispatcher->dispatch(headers,body)
    * dispatcher->pending_responses()
    * dispatcher->retrieve_response()
    The dispatcher runs in a separate thread - and manages dispatch of "work" to a pool of worker threads via Thread::Queue::Any.

    -David.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://603244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found