bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
ebcf7d6c9222f2c96053516e0c90994bff62dd55 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace ssl_iostream_context_init_client() with ssl_iostream_client_context_cache_get() |
15d19d6e4daf460d8d2c82b981e23996dbdf7ba5 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Rename ssl_iostream_context_deinit() to ssl_iostream_context_unref() |
a943ed0f901e312445fd393249b91932797bba79 |
|
03-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: use i_close_fd{,_path}() instead of open-coding them |
be5773cb4d6edae8a5d9f300c3c7375cdd33826e |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on [io]_stream_destroy(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- i_stream_destroy(&E);
- }
+ i_stream_destroy(&E);
@@
expression E;
@@
- if (E != NULL) {
- o_stream_destroy(&E);
- }
+ o_stream_destroy(&E); |
0d1b8b6bec79746c5d89d57dd8c1688946bd9237 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on timeout_remove(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- timeout_remove(&E);
- }
+ timeout_remove(&E); |
5f1d689131a75c39f064cbd4202373e7edf78f18 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on io_remove{,_closed}(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- io_remove(&E);
- }
+ io_remove(&E);
@@
expression E;
@@
- if (E != NULL) {
- io_remove_closed(&E);
- }
+ io_remove_closed(&E); |
7a727b88fdfccf74466041c17ebb34c1da663567 |
|
22-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3c: Fix compiling due to typo in previous commit |
b3c095d1fb0bb86695d92c2045eb09e985623934 |
|
22-Feb-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix ssl_set usage
Remove verify_remote_cert, as it's always TRUE now.
Set allow_invalid_cert to TRUE if verification is
not required. |
ec3eb53293a282b409fe128153038522c294dda3 |
|
20-Feb-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
pop3c: Add no pipelining pop3c feature
This should help with certain broken pop3c
servers that advertise that they support pipelining
but they really don't. |
84cccc6b54d8f92fdee75fe96c63bb67b097eeb3 |
|
08-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3c: Increase timeout for PASS to 5 minutes. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
fd0146e601e476f654dc79f3e580a1d766062316 |
|
11-Aug-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: don't crash when pop3c-client timeouts |
095481fee84040436ce2dccca472c9bb1df4d5bb |
|
16-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Changed require_valid_cert -> allow_invalid_cert
We should default to being safe. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
e93184a9055c2530366dfe617e07199603c399dd |
|
06-Jun-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: remove autoclose parameter from [io]_stream_create_fd
Use [io]_stream_create_fd_autoclose() for autoclose. |
1ac936bd9c3fd2b54d38daa9f5a78bd8328873bb |
|
26-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3c: Compiler warning fix for using wrong enum type |
60d1fdf2c17fd0c7020234590dbd73da81c3ce8f |
|
26-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3c: Added full support for running commands asynchronously (with PIPELINING) |
9999b049d4e02d7ea5d506a0ada68e519cfdbbbd |
|
26-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3c: Increased command timeout from 30s to 5mins.
Possibly should be made configurable, but use this for now. |
934f04e8a86c14a425f82ec7c74c169492093f98 |
|
19-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3c: If authentication fails, log if it was done with USER+PASS or AUTH PLAIN |
56b13d0e6ab03b6ea20c23cdf84577194db40af3 |
|
19-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
pop3c: Improve authentication debug log messages a bit. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
46b823ac3bce2c0f9f0fc73911e48d3a77b04fbe |
|
08-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Replaced unlink() calls with i_unlink*() wherever possible. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
aec1d6f3cdce8deed8b5d718fe4031ef7432cec1 |
|
08-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
pop3c: Added missing support for pop3c_ssl=starttls |
7a88e726e7300fb0273cb4e55b43c27fbd90bdbd |
|
08-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
pop3c: If base_dir isn't set, lookup pop3c_host with regular blocking DNS lookup. |
f8e6e85ab508e80a66f323390f8f4e2edfff2730 |
|
26-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
lib: Moved rawlog dir stat()s to iostream_rawlog_create() internally.
This is required to allow TCP rawlogs to actually work. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
5cdb246858f37469fe61351dbc147dabbdde342c |
|
19-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
pop3c: Memory leak fixes |
35f3b7e05afecacd0332c210c6e253911c2813d8 |
|
16-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
Use io_loop_set_current() instead of directly setting it. |
39a97e88db1d6626469f905085b787c268502153 |
|
12-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
pop3c: Don't assert-crash if we can't do DNS lookup. |
56d1345c43bbd28c36b7faa85e4163bd9e874290 |
|
07-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
Added ssl_client_ca_file to specify the CA certs as a file instead of as a dir.
This is required for Redhat-based systems where there isn't a CA directory
like in Debian/Ubuntu. |
355384821d16af96455f008243e69f6a11822513 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
imapc, pop3c: Don't hide SSL handshake errors. |
b4d850a0ffd519c1c745557568daf7d48e18c820 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Simplified certificate validation. Also give better error messages. |
3b4bd183cc469f70eb91d82a7f01f60ffc24ca5b |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added support for TLS SNI, which caused some API changes. |
9709107819ba60d41f737279dd070b40d46b4120 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: If handshake callback fails, close the iostreams immediately.
This way the callback itself doesn't have to do it. Also fixes errors caused
by it, since they didn't close the ostream. |
ac645fe16c0619771c0a961db91df16485513c52 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: ssl_iostream_set_handshake_callback() API changed.
The callback can now return the error message to caller instead of having to
log it itself. |
ba1c847d0af4afe4787ed470d0c818e948e184e2 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: API changes to return error strings if init() functions fail.
This also fixed a couple of broken error handlings. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
a67b39aac630b8d53c1afeec6abdc32ba91899c5 |
|
25-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
pop3c: If POP3 server doesn't support CAPA command, try to use UIDL anyway. |
378e1583e12eb10c265e8ab0cbd0c6250e8639b5 |
|
08-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
pop3c: pop3c_master_user setting broke down non-master logins. |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
3785910c303507db5f629684e6dde2cc7f83668e |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added i_stream_get_data_size(). Used it where possible. |
e34d170f8f0e084bd94bfbc1a7085ece67e508df |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make sure we check all the functions' return values. Minor API changes to simplify this.
Checked using a patched clang that adds attribute(warn_unused_result) to all
functions. This commit fixes several error handling mistakes. |
76e24e06e77ac6b8794446a0590a0cba8bba6e38 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
pop3c: Fixed losing timeout on ioloop change. |
e2a88d59c0d47d63ce1ad5b1fd95e487124a3fd4 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added o_stream_nsend*() and related functions to make delayed error handling safer.
Once o_stream_nsend*() is called, o_stream_nfinish() must be called before
stream is destroyed to finish checking if there were any errors. If
something failed and the stream is just wanted to be closed,
o_stream_ignore_last_errors() can be called.
For streams where errors don't really make any difference (network sockets)
you can call o_stream_set_no_error_handling() immediately after creating the
stream. |
1864cbe7efd4839e12609878122b847975a8a0bc |
|
10-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
pop3c: Removed extra "R " prefix from POP3 server error messages. |
7d102c66eb1755e1894cf56e3594cd744e855238 |
|
27-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dns: dns_lookup() returns now the lookup struct, and it can be aborted.
Changed all dns_lookup() users also to abort the lookup when needed
(previously it probably would have just accessed freed memory and crash). |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
2026684bfc269f4ab3196dea3594f9fe17b1238d |
|
02-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
pop3c: Fixes to handling filter streams for mail. |
6d762334a8e8c2b3f5b6816a107e523d37efa613 |
|
02-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
pop3c: Last message wasn't visible. |
01435c38e7d671d5a892c4b802cfb204881cd454 |
|
02-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added initial support for pop3c backend. |