Re: driver/transport/sasl refactor

2012-09-07 Thread Rafael Schloming
As of last night this is on trunk. --Rafael On Thu, Sep 6, 2012 at 4:11 PM, Ken Giusti kgiu...@redhat.com wrote: Good improvement. Once it's on trunk I'll refactor the ssl branch to move the ssl i/o into the transport, as per the intent. -K - Original Message - On Tue, Sep 4,

driver/transport/sasl refactor

2012-09-04 Thread Rafael Schloming
Hi Everyone, I've done some exploratory coding on a small refactor aimed at simplifying the driver in order to ease both portability and ssl integration. I've attached the patch. It's not huge, but it removes some of the trickiest code from driver.c. I believe there are further simplifications

Re: driver/transport/sasl refactor

2012-09-04 Thread Rafael Schloming
Oops, looks like attachments are stripped. I've posted the patch here: https://reviews.apache.org/r/6910/ --Rafael

Re: driver/transport/sasl refactor

2012-09-04 Thread Rajith Attapattu
I'm trying to figure out what changes are needed on the Java side. It seems the bind method will be of interest. Rafi, could you also explain how the refactor is going to help with SSL ? Rajith On Tue, Sep 4, 2012 at 5:09 PM, Rafael Schloming r...@alum.mit.edu wrote: Hi Everyone, I've done

Re: driver/transport/sasl refactor

2012-09-04 Thread Rafael Schloming
I should also mention that part of the idea is to offer a frame based transport as an alternative to the byte based transport currently offered. So a subsequent piece of work on top of this would be to expose the internal portion of the transport responsible for processing frames and provide the