]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agodsync: Name remote connections better.
Timo Sirainen [Tue, 6 Aug 2013 11:25:49 +0000 (14:25 +0300)] 
dsync: Name remote connections better.

12 years agoreplicator: Fixed assert-crash if dsync server disconnected.
Timo Sirainen [Tue, 6 Aug 2013 09:48:15 +0000 (12:48 +0300)] 
replicator: Fixed assert-crash if dsync server disconnected.

12 years agoAdded signature for changeset 71f0696749ab
Timo Sirainen [Mon, 5 Aug 2013 19:22:51 +0000 (22:22 +0300)] 
Added signature for changeset 71f0696749ab

12 years agoAdded tag 2.2.5 for changeset 71f0696749ab
Timo Sirainen [Mon, 5 Aug 2013 19:22:47 +0000 (22:22 +0300)] 
Added tag 2.2.5 for changeset 71f0696749ab

12 years agoReleased v2.2.5. 2.2.5
Timo Sirainen [Mon, 5 Aug 2013 19:22:47 +0000 (22:22 +0300)] 
Released v2.2.5.

12 years agoMake static analyzer happier.
Timo Sirainen [Mon, 5 Aug 2013 19:21:29 +0000 (22:21 +0300)] 
Make static analyzer happier.

12 years agolib-storage: Use a separate auth-userdb connection for iterating through users.
Timo Sirainen [Mon, 5 Aug 2013 19:16:02 +0000 (22:16 +0300)] 
lib-storage: Use a separate auth-userdb connection for iterating through users.
This is required because the auth-userdb connection is also wanted in the
middle of the iteration to do USER lookups.

12 years agolib-auth: Previous changes didn't set the current ioloop correctly, causing problems.
Timo Sirainen [Mon, 5 Aug 2013 19:15:08 +0000 (22:15 +0300)] 
lib-auth: Previous changes didn't set the current ioloop correctly, causing problems.

12 years agodoveadm: Minor memory leak fixes at deinit.
Timo Sirainen [Mon, 5 Aug 2013 19:13:28 +0000 (22:13 +0300)] 
doveadm: Minor memory leak fixes at deinit.

12 years agolib-auth: auth_master_user_list_*() shouldn't create ioloop if it already exists.
Timo Sirainen [Mon, 5 Aug 2013 18:47:11 +0000 (21:47 +0300)] 
lib-auth: auth_master_user_list_*() shouldn't create ioloop if it already exists.

12 years agomaildir: mailbox_create() was returning 1 instead of 0 on success.
Timo Sirainen [Mon, 5 Aug 2013 17:45:42 +0000 (20:45 +0300)] 
maildir: mailbox_create() was returning 1 instead of 0 on success.
This broke acl plugin's check to copy the ACLs to the newly created mailbox.

12 years agodns: Use EAI_NONAME, not EAI_ADDRFAMILY to indicate "no addresses".
Timo Sirainen [Mon, 5 Aug 2013 17:33:01 +0000 (20:33 +0300)] 
dns: Use EAI_NONAME, not EAI_ADDRFAMILY to indicate "no addresses".

12 years agombox: Don't use file_set_size() to grow mbox file size.
Timo Sirainen [Mon, 5 Aug 2013 17:27:09 +0000 (20:27 +0300)] 
mbox: Don't use file_set_size() to grow mbox file size.
posix_fallocate() apparently grows file size in 4kB blocks in GFS2 causing
extra NULs to be written. The mbox file rarely needs to grow so much that
there's any point in using any optimizations for it.

Besides, this was the last place where file_set_size() was used. If no
further use can be found for it, it could be removed entirely.

12 years agolib-auth: Another crashfix to auth_master_user_list_*()
Timo Sirainen [Mon, 5 Aug 2013 17:12:10 +0000 (20:12 +0300)] 
lib-auth: Another crashfix to auth_master_user_list_*()

12 years agoman: Added doveadm-exec.1.
Pascal Volk [Mon, 5 Aug 2013 15:52:52 +0000 (15:52 +0000)] 
man: Added doveadm-exec.1.

12 years agolib-storage: Fixed listing INBOX's children with LAYOUT=fs and non-mbox format.
Timo Sirainen [Mon, 5 Aug 2013 14:38:13 +0000 (17:38 +0300)] 
lib-storage: Fixed listing INBOX's children with LAYOUT=fs and non-mbox format.

12 years agonet_gethosterror(): Never return NULL.
Timo Sirainen [Mon, 5 Aug 2013 13:59:21 +0000 (16:59 +0300)] 
net_gethosterror(): Never return NULL.

12 years agolib-dns, dns: Don't use IPv4-only error codes
Timo Sirainen [Mon, 5 Aug 2013 13:58:01 +0000 (16:58 +0300)] 
lib-dns, dns: Don't use IPv4-only error codes

12 years agolib-index: Replaced assert-crash with "index corrupted" error.
Timo Sirainen [Mon, 5 Aug 2013 11:06:23 +0000 (14:06 +0300)] 
lib-index: Replaced assert-crash with "index corrupted" error.

12 years agolib-index: Silently ignore next_uid shrinking without treating them as errors.
Timo Sirainen [Mon, 5 Aug 2013 10:46:37 +0000 (13:46 +0300)] 
lib-index: Silently ignore next_uid shrinking without treating them as errors.

12 years agolib-http: Fixed redirect request target encoding and NULL target.
Timo Sirainen [Sun, 4 Aug 2013 17:33:05 +0000 (20:33 +0300)] 
lib-http: Fixed redirect request target encoding and NULL target.
Patch by Stephan Bosch.

12 years agoimap: Various APPEND/CATENATE error handling bugfixes.
Timo Sirainen [Sun, 4 Aug 2013 15:34:43 +0000 (18:34 +0300)] 
imap: Various APPEND/CATENATE error handling bugfixes.
Found using Apple's catenate.pl test script.

12 years agolib-http: Ignore trailing whitespace in headers.
Timo Sirainen [Sun, 4 Aug 2013 11:03:54 +0000 (14:03 +0300)] 
lib-http: Ignore trailing whitespace in headers.
Patch by Stephan Bosch.

12 years agolib-http: Don't crash when receiving 304 or a redirect without Location: header.
Timo Sirainen [Sun, 4 Aug 2013 09:16:09 +0000 (12:16 +0300)] 
lib-http: Don't crash when receiving 304 or a redirect without Location: header.
Patch by Stephan Bosch

12 years agoman: Fixed doveadm-deduplicate.1
Timo Sirainen [Sat, 3 Aug 2013 18:33:25 +0000 (21:33 +0300)] 
man: Fixed doveadm-deduplicate.1
Patch by Pascal Volk

12 years agoMakefile: Fixed previous commit.
Timo Sirainen [Sat, 3 Aug 2013 12:26:58 +0000 (15:26 +0300)] 
Makefile: Fixed previous commit.

12 years agoman: Added doveadm-deduplicate.1 and doveadm-flags.1.
Pascal Volk [Fri, 2 Aug 2013 19:03:32 +0000 (19:03 +0000)] 
man: Added doveadm-deduplicate.1 and doveadm-flags.1.

12 years agodoveadm flags: Fixed help text for subcommands.
Timo Sirainen [Fri, 2 Aug 2013 13:20:08 +0000 (16:20 +0300)] 
doveadm flags: Fixed help text for subcommands.

12 years agoquota-status: Added quota_status_toolarge message for mails larger than user's quota...
Timo Sirainen [Fri, 2 Aug 2013 12:19:22 +0000 (15:19 +0300)] 
quota-status: Added quota_status_toolarge message for mails larger than user's quota limit.
Based on patch by Ulrich Zehl

12 years agoquota-status: Removed extra newlines from default quota_status_overquota message.
Timo Sirainen [Fri, 2 Aug 2013 12:14:39 +0000 (15:14 +0300)] 
quota-status: Removed extra newlines from default quota_status_overquota message.
Patch by Ulrich Zehl

12 years agossl: Log SSL "close notify" alerts as debug messages, not warnings.
Timo Sirainen [Thu, 1 Aug 2013 12:35:35 +0000 (15:35 +0300)] 
ssl: Log SSL "close notify" alerts as debug messages, not warnings.
They are clean shutdown messages after all.

12 years agoquota: Don't log errors about missing namespaces for autocreated shared mail_users.
Timo Sirainen [Thu, 1 Aug 2013 12:00:59 +0000 (15:00 +0300)] 
quota: Don't log errors about missing namespaces for autocreated shared mail_users.

12 years agolib-storage: Improved seteuid() error messages a bit.
Timo Sirainen [Thu, 1 Aug 2013 11:23:33 +0000 (14:23 +0300)] 
lib-storage: Improved seteuid() error messages a bit.

12 years agolib-storage: If settings can't be read because of permission denied, restart process.
Timo Sirainen [Thu, 1 Aug 2013 11:18:24 +0000 (14:18 +0300)] 
lib-storage: If settings can't be read because of permission denied, restart process.

12 years agolib-master: Added master_service_settings_output.permission_denied error flag.
Timo Sirainen [Thu, 1 Aug 2013 11:18:00 +0000 (14:18 +0300)] 
lib-master: Added master_service_settings_output.permission_denied error flag.

12 years agolib-master: If config socket closes, retry connecting to it automatically.
Timo Sirainen [Thu, 1 Aug 2013 10:51:57 +0000 (13:51 +0300)] 
lib-master: If config socket closes, retry connecting to it automatically.

12 years agolib-master: If MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN is set, open the config socket...
Timo Sirainen [Thu, 1 Aug 2013 10:42:51 +0000 (13:42 +0300)] 
lib-master: If MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN is set, open the config socket before dropping privileges.

12 years agolib-storage: Ignore MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP if service user isn...
Timo Sirainen [Thu, 1 Aug 2013 10:31:25 +0000 (13:31 +0300)] 
lib-storage: Ignore MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP if service user isn't root.

12 years agoquota-status: Keep the config connection open.
Timo Sirainen [Tue, 30 Jul 2013 10:26:40 +0000 (13:26 +0300)] 
quota-status: Keep the config connection open.

12 years agolib-storage: With temporary privilege dropping, switch to root before doing config...
Timo Sirainen [Tue, 30 Jul 2013 10:26:07 +0000 (13:26 +0300)] 
lib-storage: With temporary privilege dropping, switch to root before doing config lookup.
This fixes the problem of not having enough permissions to connect to the
config socket.

12 years agolib-auth: Don't crash in auth_master_user_list_*() if socket can't be connected to.
Timo Sirainen [Tue, 30 Jul 2013 10:09:52 +0000 (13:09 +0300)] 
lib-auth: Don't crash in auth_master_user_list_*() if socket can't be connected to.

12 years agodirector: Avoid infinite SYNC loops if the originating director goes away for a long...
Timo Sirainen [Mon, 29 Jul 2013 20:22:46 +0000 (23:22 +0300)] 
director: Avoid infinite SYNC loops if the originating director goes away for a long time.

12 years agodirector: Update existing users' timestamps during handshake.
Timo Sirainen [Mon, 29 Jul 2013 19:49:17 +0000 (22:49 +0300)] 
director: Update existing users' timestamps during handshake.

12 years agodirector: Fixes to director-test.
Timo Sirainen [Mon, 29 Jul 2013 19:19:03 +0000 (22:19 +0300)] 
director: Fixes to director-test.

12 years agodirector: Fixes to handling users near expiration.
Timo Sirainen [Mon, 29 Jul 2013 19:11:46 +0000 (22:11 +0300)] 
director: Fixes to handling users near expiration.

12 years agodirector: Log director disconnection errno correctly.
Timo Sirainen [Mon, 29 Jul 2013 19:10:01 +0000 (22:10 +0300)] 
director: Log director disconnection errno correctly.

12 years agodirector: Expire users a bit more correctly.
Timo Sirainen [Mon, 29 Jul 2013 19:08:26 +0000 (22:08 +0300)] 
director: Expire users a bit more correctly.
Also make sure that the "user near expiring" interval is at least 3 seconds
in case director_user_expire is very low.

12 years agodirector: Don't allow director_user_expire to be less than 10 seconds.
Timo Sirainen [Mon, 29 Jul 2013 19:06:13 +0000 (22:06 +0300)] 
director: Don't allow director_user_expire to be less than 10 seconds.

12 years agoliblib: connection_disconnect() didn't close fd_out if it was different from fd_in.
Timo Sirainen [Wed, 17 Jul 2013 07:23:21 +0000 (10:23 +0300)] 
liblib: connection_disconnect() didn't close fd_out if it was different from fd_in.

12 years agodirector: Don't log an error if login connection gets closed with ECONNRESET.
Timo Sirainen [Fri, 12 Jul 2013 00:06:26 +0000 (03:06 +0300)] 
director: Don't log an error if login connection gets closed with ECONNRESET.

12 years agoauth: With multiple passdbs the previous passdb's userdb_* fields weren't cleared.
Timo Sirainen [Fri, 12 Jul 2013 00:01:31 +0000 (03:01 +0300)] 
auth: With multiple passdbs the previous passdb's userdb_* fields weren't cleared.

12 years agoauth: If blocking passdb returned only NULLs for userdb_ fields, use userdb prefetch...
Timo Sirainen [Thu, 11 Jul 2013 23:43:43 +0000 (02:43 +0300)] 
auth: If blocking passdb returned only NULLs for userdb_ fields, use userdb prefetch anyway.

12 years agoauth: Use fewer syscalls for sending user list.
Timo Sirainen [Thu, 11 Jul 2013 23:29:00 +0000 (02:29 +0300)] 
auth: Use fewer syscalls for sending user list.

12 years agolib-auth: auth_master_user_list_*() no longer reads the entire user list into memory.
Timo Sirainen [Thu, 11 Jul 2013 23:26:44 +0000 (02:26 +0300)] 
lib-auth: auth_master_user_list_*() no longer reads the entire user list into memory.

12 years agolib-storage: mail_storage_service_all_init() no longer returns total number of users.
Timo Sirainen [Thu, 11 Jul 2013 23:17:31 +0000 (02:17 +0300)] 
lib-storage: mail_storage_service_all_init() no longer returns total number of users.
In preperation for removing the count functionality, since it requires
reading all the users into memory for it to work.

This also required removing the /total from verbosity counter with
doveadm -A.

12 years agoauth: Avoid wasting data stack when iterating users.
Timo Sirainen [Thu, 11 Jul 2013 22:57:45 +0000 (01:57 +0300)] 
auth: Avoid wasting data stack when iterating users.

12 years agoman: Updated doveadm-director man page.
Timo Sirainen [Thu, 11 Jul 2013 22:39:47 +0000 (01:39 +0300)] 
man: Updated doveadm-director man page.

12 years agolib-ssl-iostream: Crashfix for recent change.
Timo Sirainen [Thu, 11 Jul 2013 22:36:41 +0000 (01:36 +0300)] 
lib-ssl-iostream: Crashfix for recent change.

12 years agolib-http: Added a very dummy test-http-server
Timo Sirainen [Thu, 11 Jul 2013 11:29:05 +0000 (14:29 +0300)] 
lib-http: Added a very dummy test-http-server

12 years agolib-http: Implemented http-request-parser for HTTP servers.
Timo Sirainen [Thu, 11 Jul 2013 11:18:42 +0000 (14:18 +0300)] 
lib-http: Implemented http-request-parser for HTTP servers.
Moved code common with it and http-response-parser to http-message-parser.

12 years agolib-http: Moved struct http_response* to http-response.h
Timo Sirainen [Thu, 11 Jul 2013 09:54:02 +0000 (12:54 +0300)] 
lib-http: Moved struct http_response* to http-response.h
Also http-client.h now #includes only http-response.h

12 years agolib-http: Minor change to make sure http_response_header.size is always correct.
Timo Sirainen [Thu, 11 Jul 2013 07:25:32 +0000 (10:25 +0300)] 
lib-http: Minor change to make sure http_response_header.size is always correct.
The current http-header-parser already guaranteed that it is, but this
change just adds extra guarantees that it won't break in future. Besides,
this change improves the performance slightly by avoiding strlen().

12 years agolib-http: Minor fix/cleanup to detecting stream errors when skipping payload.
Timo Sirainen [Thu, 11 Jul 2013 07:19:43 +0000 (10:19 +0300)] 
lib-http: Minor fix/cleanup to detecting stream errors when skipping payload.

12 years agolib-http: Updated test-http-response-parser
Timo Sirainen [Thu, 11 Jul 2013 07:17:49 +0000 (10:17 +0300)] 
lib-http: Updated test-http-response-parser

12 years agolib-http: test-http-header-parser makes sure the parser works one byte at a time.
Timo Sirainen [Thu, 11 Jul 2013 06:33:13 +0000 (09:33 +0300)] 
lib-http: test-http-header-parser makes sure the parser works one byte at a time.

12 years agolib-http: Fixed previous test-http-response-parser change.
Timo Sirainen [Thu, 11 Jul 2013 06:29:36 +0000 (09:29 +0300)] 
lib-http: Fixed previous test-http-response-parser change.

12 years agolib-http: Fixed handling responses whose header arrives in smaller pieces.
Timo Sirainen [Thu, 11 Jul 2013 06:25:53 +0000 (09:25 +0300)] 
lib-http: Fixed handling responses whose header arrives in smaller pieces.

12 years agolib-http: Simplify http response status-line parsing code.
Timo Sirainen [Thu, 11 Jul 2013 06:23:14 +0000 (09:23 +0300)] 
lib-http: Simplify http response status-line parsing code.
Also by not using a temporary string buffer the istream can at least in
theory limit the maximum status-line length (=max memory usage).

12 years agolib-http: Http requests weren't freed when connection was aborted.
Timo Sirainen [Wed, 10 Jul 2013 21:30:28 +0000 (00:30 +0300)] 
lib-http: Http requests weren't freed when connection was aborted.
Patch by Stephan Bosch.

12 years agolib-ssl-iostream: Compiler warning fix
Timo Sirainen [Wed, 10 Jul 2013 21:28:54 +0000 (00:28 +0300)] 
lib-ssl-iostream: Compiler warning fix

12 years agolib-ssl-iostreams: ssl_protocols setting supports now TLSv1.1 and TLSv1.2 values.
Timo Sirainen [Wed, 10 Jul 2013 07:01:26 +0000 (10:01 +0300)] 
lib-ssl-iostreams: ssl_protocols setting supports now TLSv1.1 and TLSv1.2 values.

12 years agoauth: Fixed crash for some lookups that didn't specify service name.
Timo Sirainen [Wed, 10 Jul 2013 06:43:19 +0000 (09:43 +0300)] 
auth: Fixed crash for some lookups that didn't specify service name.

12 years agoMaildir++ quota: When recreating, don't use maildirsize.lock file.
Timo Sirainen [Wed, 10 Jul 2013 06:37:06 +0000 (09:37 +0300)] 
Maildir++ quota: When recreating, don't use maildirsize.lock file.
The point was never to even try to lock it, it just used to be an easier API
to create the file. Nowadays safe_mkstemp_hostpid_group() works just as
easily. This normally doesn't matter, but apparently Exim+CPanel leaves
maildirsize.lock files lying around, causing Dovecot to not update
maildirsize.

12 years agolib-ssl-iostream: Added support for ECDH/ECDHE cipher suites
Timo Sirainen [Wed, 10 Jul 2013 05:58:36 +0000 (08:58 +0300)] 
lib-ssl-iostream: Added support for ECDH/ECDHE cipher suites
Based on the login-common patch by David Hicks.

12 years agologin-common: Compiler warning fix with OpenSSL v1.0.2+
Timo Sirainen [Wed, 10 Jul 2013 05:47:49 +0000 (08:47 +0300)] 
login-common: Compiler warning fix with OpenSSL v1.0.2+

12 years agolib-http: Minor comment update.
Timo Sirainen [Wed, 10 Jul 2013 05:42:09 +0000 (08:42 +0300)] 
lib-http: Minor comment update.

12 years agologin-common: Add support for ECDH/ECDHE cipher suites
David Hicks [Sat, 6 Jul 2013 04:46:16 +0000 (14:46 +1000)] 
login-common: Add support for ECDH/ECDHE cipher suites

ECDH temporary key parameter selection must be performed during OpenSSL
context initialisation before ECDH and ECDHE cipher suites can be used.

OpenSSL >= 1.0.2 automatically handles ECDH temporary key parameter selection.
For OpenSSL < 1.0.2 we must manually specify a named elliptic curve that
Dovecot will use to generate an ephemeral key pair. By default we try to use
the same named curve as that used in the server's private EC key file. If this
attempt fails, a fall back curve of NIST P-384 (secp384r1) is used instead.

RFC 6460 states that NIST P-384 MUST be used for cipher suites that include
AES-256. For cipher suites that include AES-128, RFC 6460 states that NIST
P-256 MUST be used. No matter which curve is used as a fall back option,
Dovecot will be non-compliant. The reason for selecting NIST P-384 as a fall
back curve is to ensure that the non-compliance is in the form of providing
too great a level of security for AES-128 cipher suites rather than too little
security for AES-256 cipher suites.

12 years agoimapc: Reorganize code so that imapc_list works without imapc_storage.
Timo Sirainen [Wed, 10 Jul 2013 03:54:57 +0000 (06:54 +0300)] 
imapc: Reorganize code so that imapc_list works without imapc_storage.
Most importantly fixes crashes when imapc_list is trying to lookup hierarchy
separator before storage is created.

12 years agoimapc: Code cleanup: Don't access imapc settings via storage.
Timo Sirainen [Wed, 10 Jul 2013 03:05:20 +0000 (06:05 +0300)] 
imapc: Code cleanup: Don't access imapc settings via storage.

12 years agoimapc: Minor code cleanup.
Timo Sirainen [Wed, 10 Jul 2013 02:57:36 +0000 (05:57 +0300)] 
imapc: Minor code cleanup.

12 years agoauth: If passdb ldap returned no values for userdb_ fields, use userdb prefetch anyway.
Timo Sirainen [Wed, 10 Jul 2013 02:37:01 +0000 (05:37 +0300)] 
auth: If passdb ldap returned no values for userdb_ fields, use userdb prefetch anyway.

12 years agoauth: If passdb sql returned only NULLs for userdb_ fields, use userdb prefetch anyway.
Timo Sirainen [Wed, 10 Jul 2013 02:29:45 +0000 (05:29 +0300)] 
auth: If passdb sql returned only NULLs for userdb_ fields, use userdb prefetch anyway.

12 years agopop3: Avoid assert-crash if client disconnects during LIST.
Timo Sirainen [Wed, 10 Jul 2013 02:19:22 +0000 (05:19 +0300)] 
pop3: Avoid assert-crash if client disconnects during LIST.

12 years agolib-http: Fix/cleanup to handling connect failures.
Timo Sirainen [Wed, 10 Jul 2013 00:27:52 +0000 (03:27 +0300)] 
lib-http: Fix/cleanup to handling connect failures.
There was some kind of double-error handling which messed up things.

12 years agolib-http: Fixed tracking number of pending connections to host-port.
Timo Sirainen [Tue, 9 Jul 2013 23:50:04 +0000 (02:50 +0300)] 
lib-http: Fixed tracking number of pending connections to host-port.

12 years agolib-http: Don't assert-crash in case of somewhat unexpected failing connections.
Timo Sirainen [Tue, 9 Jul 2013 23:31:05 +0000 (02:31 +0300)] 
lib-http: Don't assert-crash in case of somewhat unexpected failing connections.

12 years agolib-http: Always try to connect to host's all IPs when connections fail.
Timo Sirainen [Tue, 9 Jul 2013 22:44:40 +0000 (01:44 +0300)] 
lib-http: Always try to connect to host's all IPs when connections fail.
Previously this was done only when the new connections started from the
first IP.

12 years agodns, lib-dns: Added support for async DNS PTR lookups.
Timo Sirainen [Fri, 28 Jun 2013 16:48:37 +0000 (19:48 +0300)] 
dns, lib-dns: Added support for async DNS PTR lookups.

12 years agoAdded net_gethostbyaddr() for DNS PTR lookups.
Timo Sirainen [Fri, 28 Jun 2013 16:48:15 +0000 (19:48 +0300)] 
Added net_gethostbyaddr() for DNS PTR lookups.
This code assumes we have IPv6 capability. Perhaps we should just require it
everywhere already..

12 years agolib-http: Added more debug messages.
Timo Sirainen [Thu, 27 Jun 2013 20:07:20 +0000 (23:07 +0300)] 
lib-http: Added more debug messages.

12 years agolib-http: When successfully connected to a peer, don't drop the peer's pending connec...
Timo Sirainen [Thu, 27 Jun 2013 19:49:50 +0000 (22:49 +0300)] 
lib-http: When successfully connected to a peer, don't drop the peer's pending connections.
They could have been intentionally created for other urgent requests.

12 years agolib-http: Don't crash if payload stream is referenced by caller after its connection...
Timo Sirainen [Thu, 27 Jun 2013 17:37:46 +0000 (20:37 +0300)] 
lib-http: Don't crash if payload stream is referenced by caller after its connection is freed.

12 years agolib-http: Remove request timeout from being used during payload read.
Timo Sirainen [Thu, 27 Jun 2013 17:32:01 +0000 (20:32 +0300)] 
lib-http: Remove request timeout from being used during payload read.
The reading is done by the lib-http caller, which should have its own
timeouts.

12 years agolib-http: Call request's destroy callback always, not just on success.
Timo Sirainen [Thu, 27 Jun 2013 17:28:51 +0000 (20:28 +0300)] 
lib-http: Call request's destroy callback always, not just on success.

12 years agolib-http: If connection times out, set the stream's errno to ETIMEDOUT in case it...
Timo Sirainen [Thu, 27 Jun 2013 17:27:57 +0000 (20:27 +0300)] 
lib-http: If connection times out, set the stream's errno to ETIMEDOUT in case it's used.

12 years agolib-http: When connection is freed, abort also the pending request.
Timo Sirainen [Thu, 27 Jun 2013 17:26:50 +0000 (20:26 +0300)] 
lib-http: When connection is freed, abort also the pending request.

12 years agolib-http: Timeouts were being handled wrong/leaked by ioloop switching.
Timo Sirainen [Thu, 27 Jun 2013 17:26:13 +0000 (20:26 +0300)] 
lib-http: Timeouts were being handled wrong/leaked by ioloop switching.

12 years agolib-http: Minor code cleanup.
Timo Sirainen [Thu, 27 Jun 2013 17:24:45 +0000 (20:24 +0300)] 
lib-http: Minor code cleanup.

12 years agolib-http: Fixed hang when many connections were being created and closed.
Timo Sirainen [Thu, 27 Jun 2013 15:04:04 +0000 (18:04 +0300)] 
lib-http: Fixed hang when many connections were being created and closed.

12 years agolib-http: Added http_client_get_pending_request_count()
Timo Sirainen [Thu, 27 Jun 2013 15:03:38 +0000 (18:03 +0300)] 
lib-http: Added http_client_get_pending_request_count()