Commit Graph

12 Commits

Author SHA1 Message Date
Lefteris Chatzimparmpas
0d77e9d9a8 Set variable's type based on OpenSSL version. 2012-04-25 00:09:12 +03:00
Lefteris Chatzimparmpas
47521ace3f Change SSL variables' names in session structure. 2012-02-24 01:19:04 +01:00
Lefteris Chatzimparmpas
716ee036dc Skip normal SSL shutdown only after an error
This disables the sending of the "close notify" shutdown alert, only
after a network failure took place, and not during normal closing of a
connection.
2012-02-24 01:18:08 +01:00
Lefteris Chatzimparmpas
8c468f585f Fix the fatal failure caused by an SSL error
When a "Connection reset by peer" error was caused while reading through SSL, a
restoration of the session should have taken place after all the connection
related structures were resetted.  But instead a silent, unexpected and
unaccountable exit was the end result.  This was caused by the underlying
socket being closed while trying to shutdown the SSL session.
2012-02-22 18:59:28 +01:00
Lefteris Chatzimparmpas
83e406b70e Distinguish SSL read/write error messages printed. 2012-02-22 18:58:35 +01:00
Lefteris Chatzimparmpas
e907fe5fdf Make OpenSSL a mandatory requirement
There is no point in having SSL/TLS IMAP support as optional, it's as
useful if not more than the the non-encrypted connections.

The Makefile was better organized to make it easier to change some
options during compile.

The SHAREDIR variable passed as configuration option has changed name.
2012-02-19 12:36:44 +01:00
Lefteris Chatzimparmpas
820e9db522 Correct some small details here and there. 2012-02-16 18:49:57 +01:00
Lefteris Chatzimparmpas
23f1257c3f Correct SSL error reporting during a failure. 2012-02-15 20:48:46 +01:00
Lefteris Chatzimparmpas
df1e0c172b Refactor the code that handles the client requests
The functions that send the client requests to the server have been
simplified, as a layer of abstraction has been removed.
2012-02-12 22:00:18 +01:00
Lefteris Chatzimparmpas
18b012c2a2 Improve robustness and recoverability
Many extensive changes were made to better handle network errors, while
on some cases it is now possible to recover from previously fatal
failures.
2012-02-11 22:47:08 +01:00
Lefteris Chatzimparmpas
e888721242 Correct compilation warning
Correct the following compilation warning:

  warning: assignment discards qualifiers from pointer target type
2011-04-04 23:44:12 +02:00
Lefteris Chatzimparmpas
4fe1a3d649 Change file and directory structure
Move the source code to the src dir, the man pages to the doc dir, and
the example configuration files to the samples dir, and update all
relevant files to reflect the changes.
2011-03-06 13:34:44 +01:00