cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] SASL state machine

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Mon, 1 Dec 2014 18:58:59 +0100

 
Hi friends,
  Please find a big patch in attachment.
 
It factorizes most of the SASL code in IMAP, POP3 and SMTP into its own
state machine.
This reduces the authentication-handling states for these protocols, and
shrinks the code by more than 1800 lines.
On linux 64bit, the static memory footprint is also reduced by more than
2%.

I submit this patch here before pushing it to call your comments: all
tests pass in my linux64+openssl environment, but I would like to be
sure it doesn't break M$W builds, etc.

Thanks for your comments.
Patrick

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-12-01