Perlbal - non-blocking SSL patch

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > October 2007 > non-blocking SSL patch





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author non-blocking SSL patch
Greg Thornton

2007-10-09, 1:12 pm

Hey dudes, I think my mail client screwed up some headers and somehow
buried my SSL update in the middle of our thread on the list (sure...
blame the client!) so I wanted to repost to make sure someone else
saw it. I'd really like it if someone could help test this update out
a little bit and perhaps even get it moved into trunk? I know Brad is
busy retiring... so hopefully this will reach the appropriate parties.

The Patch: http://lists.danga.com/pipermail/pe...2007-September/
000645.html

Greg Thornton

Senior Developer | EmmaŽ
greg@myemma.com
800.595.4401 or 615.292.5888 x112
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com

P please consider the environment before printing this e-mail



Mark Smith

2007-10-10, 1:12 am

>
> Hey dudes, I think my mail client screwed up some headers and somehow
> buried my SSL update in the middle of our thread on the list (sure... blame
> the client!) so I wanted to repost to make sure someone else saw it. I'd
> really like it if someone could help test this update out a little bit and
> perhaps even get it moved into trunk? I know Brad is busy retiring... so
> hopefully this will reach the appropriate parties.
>
> The Patch: http://lists.danga.com/pipermail/pe...ber/000645.html
>
>


Thanks for bumping. I remember seeing the mail but forgot about it.

I have tested your patch on my local machine, but it's still blocking. I
dug into the IO::Socket::SSL code and it seems that it still does blocking
behavior unless you get fancy and manage the reading/writing yourself with
the WANT flags.

So I spent the last number of hours and took your patch as a start and
followed it to the logical conclusion. I've committed my work in revision
708:

http://code.sixapart.com/trac/perlbal/changeset/708/

Would love to get some eyes and hands on that. I still don't recommend
Perlbal SSL for production load.

Thanks Greg for motivating this.


--
Mark Smith / xb95
smitty@gmail.com

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com