Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 19:22:27 +0200] rev 452
Added LmResolver interface.
The LmResolver interface will be implemented in one blocking fashion and one
implementation that uses Libasyncns. Designing this as an interface will make
it easy to implement an asynchronous version using platform specific
technologies for Windows and Mac OS X.
It will also make it easier to create a mock implementation to simulate various
error codes to test the layers using the resolver.
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 19:05:23 +0200] rev 451
Some style fixes
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 19:02:02 +0200] rev 450
Refactored some of the SSL code in LmConnection.
Added functions to wrap LmSSL functions in LmOldSocket to minimize the number
of calls from LmConnection to LmSSL directly.
Also split out function to register a STARTTLS handler if it is not already
registered and we are using STARTTLS.
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 11:12:26 +0200] rev 449
Moved the call to _lm_ssl_close to LmOldSocket
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 10:58:09 +0200] rev 448
Split out old_socket_do_write from lm_old_socket_do_write.
The reason for having the buffer setup split out of lm_old_socket_do_write was
that it's also used internally in LmOldSocket. Split out the part that should
not care about buffered output into old_socket_do_write.
Also renamed lm_old_socket_do_write to lm_old_socket_write.
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 01:22:50 +0200] rev 447
Some more cleanups
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 01:18:23 +0200] rev 446
Moved the ifdefs for HAVE_ASYNCNS to the LmOldSocket code.
This cleans up the code a bit as it leaves the ifdefs to internal in
LmOldSocket.
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 01:14:42 +0200] rev 445
Updated _asyncns_cancel to follow coding style
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 00:57:14 +0200] rev 444
Made the output buffer functions private to LmOldSocket.
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 00:54:49 +0200] rev 443
Moved output buffer creation/addition to LmOldSocket where it belongs.