]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agodoveadm: Table formatter now hides the titles if all of them are marked hidden.
Timo Sirainen [Sun, 24 Mar 2013 16:13:53 +0000 (18:13 +0200)] 
doveadm: Table formatter now hides the titles if all of them are marked hidden.

12 years agodoveadm: Added "replicator replicate" command to force replication of user(s).
Timo Sirainen [Sun, 24 Mar 2013 15:48:17 +0000 (17:48 +0200)] 
doveadm: Added "replicator replicate" command to force replication of user(s).

12 years agoreplication_full_sync_interval default changed from 12h -> 24h
Timo Sirainen [Sun, 24 Mar 2013 15:23:33 +0000 (17:23 +0200)] 
replication_full_sync_interval default changed from 12h -> 24h
This allows doing full resyncs only at nights.

12 years agoreplicator: If sync fails, retry it in 5 minutes.
Timo Sirainen [Sun, 24 Mar 2013 15:21:49 +0000 (17:21 +0200)] 
replicator: If sync fails, retry it in 5 minutes.

12 years agoreplicator: Replicator queue export/import at exit/startup wasn't really working.
Timo Sirainen [Sun, 24 Mar 2013 15:04:22 +0000 (17:04 +0200)] 
replicator: Replicator queue export/import at exit/startup wasn't really working.

12 years agodoveadm replicator status: Show sync time as "-" for "never".
Timo Sirainen [Sun, 24 Mar 2013 14:53:32 +0000 (16:53 +0200)] 
doveadm replicator status: Show sync time as "-" for "never".

12 years agodoveadm replicator status: Fixed user mask to work.
Timo Sirainen [Sun, 24 Mar 2013 14:52:39 +0000 (16:52 +0200)] 
doveadm replicator status: Fixed user mask to work.

12 years agodoveadm: Added "replicator status" command.
Timo Sirainen [Sun, 24 Mar 2013 14:48:53 +0000 (16:48 +0200)] 
doveadm: Added "replicator status" command.

12 years agoreplicator: Added doveadm socket for communicating with "doveadm replicator".
Timo Sirainen [Sun, 24 Mar 2013 14:48:29 +0000 (16:48 +0200)] 
replicator: Added doveadm socket for communicating with "doveadm replicator".

12 years agolib-storage: Fixed listing subscribed namespace prefixes.
Timo Sirainen [Sun, 24 Mar 2013 14:04:37 +0000 (16:04 +0200)] 
lib-storage: Fixed listing subscribed namespace prefixes.

12 years agolib-storage: If INBOX isn't subscribed, don't return it in subscriptions list.
Timo Sirainen [Sun, 24 Mar 2013 13:33:36 +0000 (15:33 +0200)] 
lib-storage: If INBOX isn't subscribed, don't return it in subscriptions list.

12 years agolib-storage: Compiling fix
Timo Sirainen [Fri, 22 Mar 2013 17:45:52 +0000 (19:45 +0200)] 
lib-storage: Compiling fix

12 years agolib-storage: Fixed crash if shared namespace had subscriptions=yes
Timo Sirainen [Fri, 22 Mar 2013 15:43:52 +0000 (17:43 +0200)] 
lib-storage: Fixed crash if shared namespace had subscriptions=yes

12 years agolib-storage: Added mailbox_list_get_settings()
Timo Sirainen [Fri, 22 Mar 2013 15:30:36 +0000 (17:30 +0200)] 
lib-storage: Added mailbox_list_get_settings()

12 years agodsync: Use fcntl() locking instead of flock().
Timo Sirainen [Fri, 22 Mar 2013 10:48:21 +0000 (12:48 +0200)] 
dsync: Use fcntl() locking instead of flock().

12 years agoCompiler warning fix
Timo Sirainen [Fri, 22 Mar 2013 09:17:14 +0000 (11:17 +0200)] 
Compiler warning fix

12 years agoacl: Don't crash when rebuilding acl dict for "unusable" namespaces.
Timo Sirainen [Fri, 22 Mar 2013 08:29:12 +0000 (10:29 +0200)] 
acl: Don't crash when rebuilding acl dict for "unusable" namespaces.

12 years agologin proxy: Set a default 30s timeout.
Timo Sirainen [Thu, 21 Mar 2013 21:51:16 +0000 (23:51 +0200)] 
login proxy: Set a default 30s timeout.

12 years agologin proxy: Stop proxy_timeout only after successfully logged in (not after connected).
Timo Sirainen [Thu, 21 Mar 2013 21:50:53 +0000 (23:50 +0200)] 
login proxy: Stop proxy_timeout only after successfully logged in (not after connected).

12 years agodsync: -m '' parameter now syncs mailbox list, but no actual mails.
Timo Sirainen [Thu, 21 Mar 2013 12:48:33 +0000 (14:48 +0200)] 
dsync: -m '' parameter now syncs mailbox list, but no actual mails.

12 years agoAdded signature for changeset 11bd79bf4866
Timo Sirainen [Wed, 20 Mar 2013 20:06:06 +0000 (22:06 +0200)] 
Added signature for changeset 11bd79bf4866

12 years agoAdded tag 2.2.rc3 for changeset 11bd79bf4866
Timo Sirainen [Wed, 20 Mar 2013 20:05:53 +0000 (22:05 +0200)] 
Added tag 2.2.rc3 for changeset 11bd79bf4866

12 years agoReleased v2.2.rc3. 2.2.rc3
Timo Sirainen [Wed, 20 Mar 2013 20:05:53 +0000 (22:05 +0200)] 
Released v2.2.rc3.

12 years agoMerged changes from v2.1 tree.
Timo Sirainen [Wed, 20 Mar 2013 19:44:48 +0000 (21:44 +0200)] 
Merged changes from v2.1 tree.

12 years agodoveadm pw -t: Don't ask for password if -p is also specified.
Timo Sirainen [Wed, 20 Mar 2013 19:13:20 +0000 (21:13 +0200)] 
doveadm pw -t: Don't ask for password if -p is also specified.
Patch by Paul Wallingford.

12 years agombox: Moved .subscriptions back to control_dir/ root instead of control_dir/.imap/
Timo Sirainen [Wed, 20 Mar 2013 19:04:29 +0000 (21:04 +0200)] 
mbox: Moved .subscriptions back to control_dir/ root instead of control_dir/.imap/

12 years agolayout=fs: Fixed crash with mbox when control dir was enabled.
Timo Sirainen [Wed, 20 Mar 2013 18:56:58 +0000 (20:56 +0200)] 
layout=fs: Fixed crash with mbox when control dir was enabled.

12 years agodsync: Fixed retrying a search when GUIDs aren't available.
Timo Sirainen [Wed, 20 Mar 2013 18:47:46 +0000 (20:47 +0200)] 
dsync: Fixed retrying a search when GUIDs aren't available.

12 years agodsync: Avoid a creating a lot of searches for each synced mailbox.
Timo Sirainen [Wed, 20 Mar 2013 18:47:14 +0000 (20:47 +0200)] 
dsync: Avoid a creating a lot of searches for each synced mailbox.

12 years agodsync: Don't crash when requested mail doesn't have a GUID.
Timo Sirainen [Wed, 20 Mar 2013 18:24:31 +0000 (20:24 +0200)] 
dsync: Don't crash when requested mail doesn't have a GUID.

12 years agolayout=fs: Fixed assert-crash when mail root doesn't exist (pop3c).
Timo Sirainen [Wed, 20 Mar 2013 18:17:15 +0000 (20:17 +0200)] 
layout=fs: Fixed assert-crash when mail root doesn't exist (pop3c).

12 years agoimap: Don't crash with invalid FETCH BODY[sections]
Timo Sirainen [Wed, 20 Mar 2013 17:18:01 +0000 (19:18 +0200)] 
imap: Don't crash with invalid FETCH BODY[sections]

12 years agoexample-config: Removed a warning about mail_attachment_dir not being tested.
Timo Sirainen [Wed, 20 Mar 2013 16:52:51 +0000 (18:52 +0200)] 
example-config: Removed a warning about mail_attachment_dir not being tested.

12 years agofts: Fixed crash when searching virtual mailboxes and fts backend without lookup_multi().
Timo Sirainen [Wed, 20 Mar 2013 16:46:10 +0000 (18:46 +0200)] 
fts: Fixed crash when searching virtual mailboxes and fts backend without lookup_multi().
Patch by Mike Abbott / Apple

12 years agolib-lda: Send QUIT after DATA replies have been received.
Timo Sirainen [Wed, 20 Mar 2013 16:24:21 +0000 (18:24 +0200)] 
lib-lda: Send QUIT after DATA replies have been received.

12 years agoacl: Put ACL files to control dir if storage doesn't have a mail directory.
Timo Sirainen [Wed, 20 Mar 2013 16:09:46 +0000 (18:09 +0200)] 
acl: Put ACL files to control dir if storage doesn't have a mail directory.

12 years agolayout=index: Fixed mailbox_exists()
Timo Sirainen [Wed, 20 Mar 2013 15:59:32 +0000 (17:59 +0200)] 
layout=index: Fixed mailbox_exists()

12 years agoimap: Fixed RESETKEY assert-crashing
Timo Sirainen [Wed, 20 Mar 2013 15:54:52 +0000 (17:54 +0200)] 
imap: Fixed RESETKEY assert-crashing

12 years agolayout=index: Don't return a path for \Noselect mailboxes.
Timo Sirainen [Wed, 20 Mar 2013 15:44:07 +0000 (17:44 +0200)] 
layout=index: Don't return a path for \Noselect mailboxes.

12 years agolib-storage: mailbox_rename() shouldn't require source mailbox to exist.
Timo Sirainen [Wed, 20 Mar 2013 15:43:32 +0000 (17:43 +0200)] 
lib-storage: mailbox_rename() shouldn't require source mailbox to exist.
\Noselect mailboxes may not exist. The nonexistence will be noticed
eventually in the backend code.

12 years agolib-fs: Fixed fs_default_copy() to work with async writes.
Timo Sirainen [Wed, 20 Mar 2013 15:10:47 +0000 (17:10 +0200)] 
lib-fs: Fixed fs_default_copy() to work with async writes.

12 years agoreplicator: Renamed doveadm-connection to dsync-client.
Timo Sirainen [Wed, 20 Mar 2013 10:04:39 +0000 (12:04 +0200)] 
replicator: Renamed doveadm-connection to dsync-client.

12 years agodsync: Fixed attribute value comparisons.
Timo Sirainen [Wed, 20 Mar 2013 07:59:27 +0000 (09:59 +0200)] 
dsync: Fixed attribute value comparisons.

12 years agoCompiler warning fix.
Timo Sirainen [Tue, 19 Mar 2013 21:31:41 +0000 (23:31 +0200)] 
Compiler warning fix.

12 years agolib-storage: Added a way to create plugins that forcibly hook into mail storage.
Timo Sirainen [Tue, 19 Mar 2013 17:08:17 +0000 (19:08 +0200)] 
lib-storage: Added a way to create plugins that forcibly hook into mail storage.
Mostly meant for doveadm_sieve plugin.

12 years agolib-storage: Mailbox attributes can now be accessed via istreams.
Timo Sirainen [Tue, 19 Mar 2013 17:05:27 +0000 (19:05 +0200)] 
lib-storage: Mailbox attributes can now be accessed via istreams.
The idea is to use istreams for larger values.

12 years agodsync: Fixed sending mailbox attributes with stream ibc.
Timo Sirainen [Tue, 19 Mar 2013 16:52:39 +0000 (18:52 +0200)] 
dsync: Fixed sending mailbox attributes with stream ibc.

12 years agodsync: Mail requests were lost when attributes were being synced.
Timo Sirainen [Tue, 19 Mar 2013 16:50:55 +0000 (18:50 +0200)] 
dsync: Mail requests were lost when attributes were being synced.

12 years agoacl: Don't iterate ACL attributes if prefix has no chance of matching them.
Timo Sirainen [Tue, 19 Mar 2013 16:48:47 +0000 (18:48 +0200)] 
acl: Don't iterate ACL attributes if prefix has no chance of matching them.

12 years agoacl: Preserve dovecot-acl file's mtime when dsyncing.
Timo Sirainen [Tue, 19 Mar 2013 12:00:49 +0000 (14:00 +0200)] 
acl: Preserve dovecot-acl file's mtime when dsyncing.

12 years agoacl: Don't unnecessarily rewrite dovecot-acl file when re-adding the same ACL.
Timo Sirainen [Tue, 19 Mar 2013 12:00:21 +0000 (14:00 +0200)] 
acl: Don't unnecessarily rewrite dovecot-acl file when re-adding the same ACL.

12 years agodsync: Set last_change timestamp for unset attributes.
Timo Sirainen [Tue, 19 Mar 2013 11:59:22 +0000 (13:59 +0200)] 
dsync: Set last_change timestamp for unset attributes.

12 years agolib-storage: Allow mailbox_attribute_set() to also unset values.
Timo Sirainen [Tue, 19 Mar 2013 11:59:02 +0000 (13:59 +0200)] 
lib-storage: Allow mailbox_attribute_set() to also unset values.
This allows giving the last_change timestamp also when unsetting.

12 years agolib-storage: mailbox_attribute_set() now uses struct mail_attribute_value.
Timo Sirainen [Tue, 19 Mar 2013 11:34:12 +0000 (13:34 +0200)] 
lib-storage: mailbox_attribute_set() now uses struct mail_attribute_value.
This allows settig the last_change value, as well as using streams and
setting other flags in future.

12 years agonet_is_in_network(): Don't assert-crash with invalid IP.
Timo Sirainen [Tue, 19 Mar 2013 10:39:43 +0000 (12:39 +0200)] 
net_is_in_network(): Don't assert-crash with invalid IP.
It's probably better to do the check here instead of remembering for caller
to do the check.

12 years agotest-json-parser: Fixed failing test with some non-gcc/clang compilers.
Timo Sirainen [Tue, 19 Mar 2013 10:18:25 +0000 (12:18 +0200)] 
test-json-parser: Fixed failing test with some non-gcc/clang compilers.

12 years agoldap auth: Removed base() wrapper around @dn values.
Timo Sirainen [Tue, 19 Mar 2013 10:13:33 +0000 (12:13 +0200)] 
ldap auth: Removed base() wrapper around @dn values.
The idea was to provide extensibility, but it can better be done with LDAP
URLs.

12 years agolib-fs: fs-test now sets the ssl_client_set.ca_dir
Timo Sirainen [Tue, 19 Mar 2013 09:52:15 +0000 (11:52 +0200)] 
lib-fs: fs-test now sets the ssl_client_set.ca_dir

12 years agoMoved ssl_client_ca_dir and ssl_crypto_device to mail_storage_settings.
Timo Sirainen [Tue, 19 Mar 2013 09:42:51 +0000 (11:42 +0200)] 
Moved ssl_client_ca_dir and ssl_crypto_device to mail_storage_settings.
Probably could also be moved to master_service_settings, but that makes
accessing them a bit more tricky with the current code.

12 years agolib-fs: Allow passing through SSL client settings via struct fs_settings.
Timo Sirainen [Tue, 19 Mar 2013 09:39:07 +0000 (11:39 +0200)] 
lib-fs: Allow passing through SSL client settings via struct fs_settings.

12 years agoldap auth: "!ldapField" now requests the given field, but doesn't return it directly.
Timo Sirainen [Mon, 18 Mar 2013 19:31:34 +0000 (21:31 +0200)] 
ldap auth: "!ldapField" now requests the given field, but doesn't return it directly.
It's only useful for listing fields that %{ldap_ptr} can potentially access.

12 years agoldap auth: Added %{ldap_ptr:realAttr} to get the value from the realAttr.
Timo Sirainen [Mon, 18 Mar 2013 19:23:54 +0000 (21:23 +0200)] 
ldap auth: Added %{ldap_ptr:realAttr} to get the value from the realAttr.
For example:

password_attrs = \
  =proxy=y, \
  =host=%{ldap_ptr:activeHost}, \
  primaryHost, secondaryHost

Where activeHost's value is either "primaryHost" or "secondaryHost".

12 years agoldap auth: Fix to previous change.
Timo Sirainen [Mon, 18 Mar 2013 19:20:54 +0000 (21:20 +0200)] 
ldap auth: Fix to previous change.

12 years agoldap auth: Support field values containing DNs to other LDAP records and getting...
Timo Sirainen [Mon, 18 Mar 2013 18:51:33 +0000 (20:51 +0200)] 
ldap auth: Support field values containing DNs to other LDAP records and getting them.
For example:

user_attrs = \
  =user=%{ldap:uid}, \
  @mail=base(%{ldap:mailDN}), \
  =uid=%{ldap:uidNumber@mail}, \
  =gid=%{ldap:gidNumber@mail}, \
  =home=%{ldap:rootPath@mail}/%d/%n

This first does the regular lookup, and then does another lookup using
mailDN's value as the new lookup's base. The other lookup's filter is
currently hardcoded to "no filter".

12 years agoauth: Return "nologin" and "proxy" fields to login process without "=value".
Timo Sirainen [Mon, 18 Mar 2013 14:51:58 +0000 (16:51 +0200)] 
auth: Return "nologin" and "proxy" fields to login process without "=value".

12 years agoCompiling fix for Solaris
Timo Sirainen [Mon, 18 Mar 2013 13:59:40 +0000 (15:59 +0200)] 
Compiling fix for Solaris

12 years agoistream-qp-decoder: Fixed assert-crashing with buffer size allocations.
Timo Sirainen [Mon, 18 Mar 2013 13:47:14 +0000 (15:47 +0200)] 
istream-qp-decoder: Fixed assert-crashing with buffer size allocations.
The original implementation was copy&pasted from istream-base64-decoder
without enough thinking..

12 years agoquoted-printable decoding: Don't add CR if it wasn't in input.
Timo Sirainen [Mon, 18 Mar 2013 13:46:16 +0000 (15:46 +0200)] 
quoted-printable decoding: Don't add CR if it wasn't in input.
This guarantees that the decoded Q-P won't be larger than its input.

12 years agolib-master: include unistd.h for master_getopt() users.
Timo Sirainen [Fri, 15 Mar 2013 20:58:51 +0000 (21:58 +0100)] 
lib-master: include unistd.h for master_getopt() users.

12 years agoCompile fix on non-gcc/clang.
Timo Sirainen [Fri, 15 Mar 2013 20:55:40 +0000 (21:55 +0100)] 
Compile fix on non-gcc/clang.

12 years agoCompile fix on non-gcc/clang.
Timo Sirainen [Fri, 15 Mar 2013 19:49:39 +0000 (20:49 +0100)] 
Compile fix on non-gcc/clang.

12 years agoacl: Added ACL checks for attributes. Added ACL <-> mailbox attribute mapping.
Timo Sirainen [Thu, 14 Mar 2013 13:41:39 +0000 (15:41 +0200)] 
acl: Added ACL checks for attributes. Added ACL <-> mailbox attribute mapping.
The ACL checks will be useful once IMAP METADATA extension is finished. The
mapping is used by dsync to sync ACLs via generic attribute syncing.

12 years agodsync: Added support for syncing mailbox attributes.
Timo Sirainen [Thu, 14 Mar 2013 13:41:09 +0000 (15:41 +0200)] 
dsync: Added support for syncing mailbox attributes.

12 years agolib-storage: Changed mailbox_attribute_get/set() APIs to have a transaction and updat...
Timo Sirainen [Thu, 14 Mar 2013 13:32:14 +0000 (15:32 +0200)] 
lib-storage: Changed mailbox_attribute_get/set() APIs to have a transaction and update index.
The _get() doesn't currently actually use the transaction. It was mainly put
there for future use where it could be useful. It's also possible that
_iter() will need a transaction also. For now these decisions seem good
enough.

12 years agolib-index: mail_index_attribute_[un]set() adds changed attributes' keys to transactio...
Timo Sirainen [Thu, 14 Mar 2013 13:29:18 +0000 (15:29 +0200)] 
lib-index: mail_index_attribute_[un]set() adds changed attributes' keys to transaction log.
This provides them both a modseq (so their changes become visible) as well
as an efficient way to see what attributes have changed by reading the
transaction log. The values themselves aren't written to the log, because
they could be large.

12 years agolib-master: Added version_string_verify_full()
Timo Sirainen [Thu, 14 Mar 2013 13:24:48 +0000 (15:24 +0200)] 
lib-master: Added version_string_verify_full()

12 years agoistream-dot unit test updated.
Timo Sirainen [Thu, 14 Mar 2013 13:25:07 +0000 (15:25 +0200)] 
istream-dot unit test updated.

12 years agoiostreams: Added close_parent flag to close() handler and clarified close/destroy...
Timo Sirainen [Wed, 13 Mar 2013 20:11:39 +0000 (22:11 +0200)] 
iostreams: Added close_parent flag to close() handler and clarified close/destroy APIs.
This makes it unambiguous how things work: Unless you explicitly call
[io]_stream_close(), the parent streams won't be closed. This is what most
(hopefully all!) of the existing code expects.

I was wondering a bit if [io]_stream_destroy() should simply have been
removed and replaced with [io]_stream_unref() calls, since they would have
worked basically everywhere, but there might be some places where it's
better to have explicitly closed the stream (and where closing the parent
stream doesn't matter).

12 years agolda, lmtp: postmaster_address = postmaster@%d works now.
Timo Sirainen [Wed, 13 Mar 2013 13:05:05 +0000 (15:05 +0200)] 
lda, lmtp: postmaster_address = postmaster@%d works now.

12 years agolib-fs: Fixed fs_delete() API description.
Timo Sirainen [Mon, 11 Mar 2013 15:25:46 +0000 (17:25 +0200)] 
lib-fs: Fixed fs_delete() API description.

12 years agoacl: Delay initializing default backend ACLs.
Timo Sirainen [Mon, 11 Mar 2013 12:44:48 +0000 (14:44 +0200)] 
acl: Delay initializing default backend ACLs.
This fixes a crash with LAYOUT=index.

12 years agofts-solr: Removed unnecessary code.
Timo Sirainen [Sun, 10 Mar 2013 18:52:10 +0000 (20:52 +0200)] 
fts-solr: Removed unnecessary code.

12 years agolib-http: Don't crash if request callback manages to get the connection destroyed.
Timo Sirainen [Sun, 10 Mar 2013 18:49:51 +0000 (20:49 +0200)] 
lib-http: Don't crash if request callback manages to get the connection destroyed.

12 years agolib-http: Added assert.
Timo Sirainen [Sun, 10 Mar 2013 18:38:35 +0000 (20:38 +0200)] 
lib-http: Added assert.

12 years agolib-http: Callback can now request a retry with http_client_request_try_retry()
Timo Sirainen [Sun, 10 Mar 2013 18:37:41 +0000 (20:37 +0200)] 
lib-http: Callback can now request a retry with http_client_request_try_retry()
This can be useful for handling "try again" errors from HTTP servers.

12 years agolib-http: Removed unnecessary code from test-http-client
Timo Sirainen [Sun, 10 Mar 2013 18:34:49 +0000 (20:34 +0200)] 
lib-http: Removed unnecessary code from test-http-client

12 years agolib-http: Free peer if it can't be connected to and it has no pending requests.
Timo Sirainen [Sun, 10 Mar 2013 17:55:45 +0000 (19:55 +0200)] 
lib-http: Free peer if it can't be connected to and it has no pending requests.

12 years agolib-http: If host can't be connected to, don't keep retrying with more than one conne...
Timo Sirainen [Sun, 10 Mar 2013 17:54:51 +0000 (19:54 +0200)] 
lib-http: If host can't be connected to, don't keep retrying with more than one connection.
This also fixes infinitely trying to reconnect to host and retry.

12 years agolib-http: If SSL connection gets lost, log the last SSL error.
Timo Sirainen [Sun, 10 Mar 2013 16:37:46 +0000 (18:37 +0200)] 
lib-http: If SSL connection gets lost, log the last SSL error.

12 years agolib-ssl-iostream: Enable SSL_MODE_ENABLE_PARTIAL_WRITE
Timo Sirainen [Sun, 10 Mar 2013 16:37:10 +0000 (18:37 +0200)] 
lib-ssl-iostream: Enable SSL_MODE_ENABLE_PARTIAL_WRITE

12 years agolib-ssl-iostream: Fixed "bad write retry" errors when output had to be buffered.
Timo Sirainen [Sun, 10 Mar 2013 16:36:40 +0000 (18:36 +0200)] 
lib-ssl-iostream: Fixed "bad write retry" errors when output had to be buffered.

12 years agoiostream-rawlog: Pass through close() to parent input/output stream.
Timo Sirainen [Sun, 10 Mar 2013 16:16:28 +0000 (18:16 +0200)] 
iostream-rawlog: Pass through close() to parent input/output stream.

12 years agolib-http: Fixed hangs with urgent requests.
Timo Sirainen [Sun, 10 Mar 2013 15:19:14 +0000 (17:19 +0200)] 
lib-http: Fixed hangs with urgent requests.

12 years agolib-http: Allow caller to find out what state a request is in.
Timo Sirainen [Sun, 10 Mar 2013 15:17:47 +0000 (17:17 +0200)] 
lib-http: Allow caller to find out what state a request is in.

12 years agolib-http: Send Content-Length whenever payload is specified, even if its size is 0.
Timo Sirainen [Fri, 8 Mar 2013 18:25:12 +0000 (20:25 +0200)] 
lib-http: Send Content-Length whenever payload is specified, even if its size is 0.

12 years agoAdded ostream-hash for calculating a hash from data going through ostream.
Timo Sirainen [Wed, 6 Mar 2013 09:39:43 +0000 (11:39 +0200)] 
Added ostream-hash for calculating a hash from data going through ostream.

12 years agolib-http: Avoid hanging on urgent requests.
Timo Sirainen [Tue, 5 Mar 2013 19:44:07 +0000 (21:44 +0200)] 
lib-http: Avoid hanging on urgent requests.
Patch by Timo & Stephan. There are still some problems though, all urgent
requests don't seem to get a new connection.

12 years agolib-http: Fixed crash caused by previous change.
Timo Sirainen [Tue, 5 Mar 2013 14:32:12 +0000 (16:32 +0200)] 
lib-http: Fixed crash caused by previous change.

12 years agolib-http: If we get disconnected, say exactly what the error was.
Timo Sirainen [Tue, 5 Mar 2013 12:32:03 +0000 (14:32 +0200)] 
lib-http: If we get disconnected, say exactly what the error was.

12 years agoconnection: Give input/output streams a name.
Timo Sirainen [Tue, 5 Mar 2013 12:31:43 +0000 (14:31 +0200)] 
connection: Give input/output streams a name.