Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:54:50 +0200] rev 456
Fixed some spaces
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:50:23 +0200] rev 455
Added type property to LmResolver
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:33:46 +0200] rev 454
Changed so that we create a resolver with various arguments depending on type.
Instead of having the lookup_host and lookup_srv virtual methods there is now
only one lookup method and the resolver is created using new_for_host or
new_for_srv instead.
The host or domain/srv values are set as properties on the base class for the
sub classes to read out.
Mikael Hallendal <micke@imendio.com> [Sun, 13 Jul 2008 23:22:42 +0200] rev 453
Made LmResolver an object for subclassing instead of an interface
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