]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
13 years agodsync: Assert-crashfix for handling conflicting private flags.
Timo Sirainen [Tue, 19 Feb 2013 07:45:12 +0000 (09:45 +0200)] 
dsync: Assert-crashfix for handling conflicting private flags.

13 years agoreplicator plugin: And crashfix for the previous change..
Timo Sirainen [Tue, 19 Feb 2013 07:35:10 +0000 (09:35 +0200)] 
replicator plugin: And crashfix for the previous change..

13 years agoreplication plugin: Notify replicator also for changes in public mailboxes.
Timo Sirainen [Tue, 19 Feb 2013 07:32:11 +0000 (09:32 +0200)] 
replication plugin: Notify replicator also for changes in public mailboxes.

13 years agolib-storage: Copy initial private message flags from shared flags for public mailboxes.
Timo Sirainen [Tue, 19 Feb 2013 06:54:32 +0000 (08:54 +0200)] 
lib-storage: Copy initial private message flags from shared flags for public mailboxes.

13 years agoreplicator: Use -N parameter for dsync (replicate all visible namespaces).
Timo Sirainen [Tue, 19 Feb 2013 06:35:57 +0000 (08:35 +0200)] 
replicator: Use -N parameter for dsync (replicate all visible namespaces).

13 years agodsync: Renamed -a parameter to -N. It also now skips invisible namespaces.
Timo Sirainen [Tue, 19 Feb 2013 06:35:23 +0000 (08:35 +0200)] 
dsync: Renamed -a parameter to -N. It also now skips invisible namespaces.

13 years agolib-storage: Saving/copying no longer discards private message flags.
Timo Sirainen [Tue, 19 Feb 2013 06:27:40 +0000 (08:27 +0200)] 
lib-storage: Saving/copying no longer discards private message flags.

13 years agolog: Recent log parser change started logging "Invalid log line" errors unintentionally.
Timo Sirainen [Tue, 19 Feb 2013 06:17:50 +0000 (08:17 +0200)] 
log: Recent log parser change started logging "Invalid log line" errors unintentionally.

13 years agolog: Don't crash if log client sends line with pid=0.
Timo Sirainen [Mon, 18 Feb 2013 13:14:05 +0000 (15:14 +0200)] 
log: Don't crash if log client sends line with pid=0.

13 years agomy_hostname was broken because of recent change.
Timo Sirainen [Mon, 18 Feb 2013 13:12:26 +0000 (15:12 +0200)] 
my_hostname was broken because of recent change.

13 years agodoveconf: Added -H parameter to check for hostname hash duplicates.
Timo Sirainen [Mon, 18 Feb 2013 06:46:06 +0000 (08:46 +0200)] 
doveconf: Added -H parameter to check for hostname hash duplicates.

13 years agoAdded guid_128_host_hash_get().
Timo Sirainen [Mon, 18 Feb 2013 06:45:54 +0000 (08:45 +0200)] 
Added guid_128_host_hash_get().

13 years agoMaster looks up system hostdomain now and sends it to child processes via environment.
Timo Sirainen [Mon, 18 Feb 2013 05:20:03 +0000 (07:20 +0200)] 
Master looks up system hostdomain now and sends it to child processes via environment.
This avoids doing a gethostbyname() lookup at startup for each process that
needs it.

13 years agomaster: Don't close stderr. If log process fails at startup, the errors are logged...
Timo Sirainen [Mon, 18 Feb 2013 05:12:44 +0000 (07:12 +0200)] 
master: Don't close stderr. If log process fails at startup, the errors are logged there.

13 years agoFree my_hostdomain at deinit.
Timo Sirainen [Mon, 18 Feb 2013 04:49:57 +0000 (06:49 +0200)] 
Free my_hostdomain at deinit.

13 years agoexample-config: Updated hostname setting's comments.
Timo Sirainen [Mon, 18 Feb 2013 04:35:41 +0000 (06:35 +0200)] 
example-config: Updated hostname setting's comments.

13 years agodsync: Fix to checking which side should do the locking.
Timo Sirainen [Mon, 18 Feb 2013 04:31:51 +0000 (06:31 +0200)] 
dsync: Fix to checking which side should do the locking.

13 years agombox: If namespace prefix is used, don't show <prefix>/inbox mailbox.
Timo Sirainen [Sun, 17 Feb 2013 10:03:06 +0000 (12:03 +0200)] 
mbox: If namespace prefix is used, don't show <prefix>/inbox mailbox.

13 years agodsync: Fixes to handling local changes during dsync.
Timo Sirainen [Sun, 17 Feb 2013 09:48:16 +0000 (11:48 +0200)] 
dsync: Fixes to handling local changes during dsync.

13 years agodsync: Fail if changing mailbox GUID update doesn't work.
Timo Sirainen [Sun, 17 Feb 2013 09:47:32 +0000 (11:47 +0200)] 
dsync: Fail if changing mailbox GUID update doesn't work.

13 years agombox: Fixed mailbox_update() for changing mailbox GUID.
Timo Sirainen [Sun, 17 Feb 2013 09:46:14 +0000 (11:46 +0200)] 
mbox: Fixed mailbox_update() for changing mailbox GUID.

13 years agolib-index: Make sure unused_old_sync_* fields are cleared in header in old inedx...
Timo Sirainen [Sun, 17 Feb 2013 08:47:40 +0000 (10:47 +0200)] 
lib-index: Make sure unused_old_sync_* fields are cleared in header in old inedx files.

13 years agodsync: Fixed infinite loop in importer.
Timo Sirainen [Sun, 17 Feb 2013 08:15:04 +0000 (10:15 +0200)] 
dsync: Fixed infinite loop in importer.

13 years agodsync: Improved unexpected error logging.
Timo Sirainen [Sun, 17 Feb 2013 08:14:49 +0000 (10:14 +0200)] 
dsync: Improved unexpected error logging.

13 years agomaildir: Don't try to preserve old filename when saving if uidlist couldn't be locked.
Timo Sirainen [Sun, 17 Feb 2013 08:11:20 +0000 (10:11 +0200)] 
maildir: Don't try to preserve old filename when saving if uidlist couldn't be locked.

13 years agomaildir: If we see old maildir file reappear, re-read uidlist before logging error.
Timo Sirainen [Sun, 17 Feb 2013 08:10:45 +0000 (10:10 +0200)] 
maildir: If we see old maildir file reappear, re-read uidlist before logging error.
Sometimes the old file gets added back intentionally and the dovecot-uidlist
is recreated (if necessary) to give it a new UID. Existing processes should
handle this situation.

13 years agodsync: If locking fails, fail instead of continuing.
Timo Sirainen [Sun, 17 Feb 2013 06:50:18 +0000 (08:50 +0200)] 
dsync: If locking fails, fail instead of continuing.

13 years agodsync: Use full hostname+domain when comparing if hosts are different in locking.
Timo Sirainen [Sun, 17 Feb 2013 05:05:08 +0000 (07:05 +0200)] 
dsync: Use full hostname+domain when comparing if hosts are different in locking.

13 years agologin-common: Updated obsolete login_process_size setting in error log message.
Timo Sirainen [Sat, 16 Feb 2013 17:06:18 +0000 (19:06 +0200)] 
login-common: Updated obsolete login_process_size setting in error log message.

13 years agoMerged changes from v2.1 tree.
Timo Sirainen [Sat, 16 Feb 2013 16:57:33 +0000 (18:57 +0200)] 
Merged changes from v2.1 tree.

13 years agoNEWS file updated.
Timo Sirainen [Sat, 16 Feb 2013 16:24:28 +0000 (18:24 +0200)] 
NEWS file updated.

13 years agopop3_lock_session: Use a separate dovecot-pop3-session.lock file instead of mailbox...
Timo Sirainen [Sat, 16 Feb 2013 16:22:23 +0000 (18:22 +0200)] 
pop3_lock_session: Use a separate dovecot-pop3-session.lock file instead of mailbox lock.
This changes the behavior in a way that it's now possible for IMAP sessions
to expunge mails during a POP3 session. But now it's no longer possible for
POP3 sessions to hang new mail deliveries.

13 years agopop3: Minor code cleanup
Timo Sirainen [Sat, 16 Feb 2013 15:58:20 +0000 (17:58 +0200)] 
pop3: Minor code cleanup

13 years agopop3: Use RFC 3206 [SYS/*] and [AUTH] response codes.
Timo Sirainen [Sat, 16 Feb 2013 15:54:57 +0000 (17:54 +0200)] 
pop3: Use RFC 3206 [SYS/*] and [AUTH] response codes.

13 years agopop3: Code cleanup: INBOX always exists, no need to check for it here.
Timo Sirainen [Sat, 16 Feb 2013 15:33:27 +0000 (17:33 +0200)] 
pop3: Code cleanup: INBOX always exists, no need to check for it here.

13 years agodsync: Merge last-common-* values from both local and remote when they differ.
Timo Sirainen [Sat, 16 Feb 2013 15:17:14 +0000 (17:17 +0200)] 
dsync: Merge last-common-* values from both local and remote when they differ.

13 years agodsync: -l parameter locking is now done on the server with "lower" hostname.
Timo Sirainen [Sat, 16 Feb 2013 14:47:40 +0000 (16:47 +0200)] 
dsync: -l parameter locking is now done on the server with "lower" hostname.
This allows running multi-master replication on two servers without two
dsyncs mixing up changes by running at the same time.

13 years agodsync: If unexpected changes happen during sync, return a safe last-common-uid for...
Timo Sirainen [Sat, 16 Feb 2013 14:45:47 +0000 (16:45 +0200)] 
dsync: If unexpected changes happen during sync, return a safe last-common-uid for state.

13 years agodsync: Don't hide the final error messages from remote.
Timo Sirainen [Sat, 16 Feb 2013 14:44:13 +0000 (16:44 +0200)] 
dsync: Don't hide the final error messages from remote.

13 years agodsync: Fixed last-common-uid lookup when local UID was expunged but remote wasn't.
Timo Sirainen [Sat, 16 Feb 2013 12:51:50 +0000 (14:51 +0200)] 
dsync: Fixed last-common-uid lookup when local UID was expunged but remote wasn't.

13 years agodsync: Assert-crashfix for previous importer changes.
Timo Sirainen [Sat, 16 Feb 2013 12:09:42 +0000 (14:09 +0200)] 
dsync: Assert-crashfix for previous importer changes.

13 years agolib-index: Avoid getting expunged-status in index lookups when not necessary.
Timo Sirainen [Sat, 16 Feb 2013 11:58:14 +0000 (13:58 +0200)] 
lib-index: Avoid getting expunged-status in index lookups when not necessary.
This especially improves dsync performance.

13 years agomdbox, mbox, virtual: Avoid getting expunged-status in index lookups when not necessary.
Timo Sirainen [Sat, 16 Feb 2013 11:51:05 +0000 (13:51 +0200)] 
mdbox, mbox, virtual: Avoid getting expunged-status in index lookups when not necessary.
This especially improves dsync performance with mdbox.

13 years agolib-index: Don't lookup mail's expunge-state in transaction log view if caller doesn...
Timo Sirainen [Sat, 16 Feb 2013 11:38:10 +0000 (13:38 +0200)] 
lib-index: Don't lookup mail's expunge-state in transaction log view if caller doesn't care.
This was especially bad with dsync, which could trigger sorting of the
expunges array each time after processing a mail (= potentially tens of
thousands of sorts).

13 years agolib-storage: Assert-crash if mailbox_save_context isn't properly freed before reusing.
Timo Sirainen [Sat, 16 Feb 2013 11:34:13 +0000 (13:34 +0200)] 
lib-storage: Assert-crash if mailbox_save_context isn't properly freed before reusing.

13 years agomdbox: mailbox_copy() didn't properly free the save context.
Timo Sirainen [Sat, 16 Feb 2013 11:32:57 +0000 (13:32 +0200)] 
mdbox: mailbox_copy() didn't properly free the save context.

13 years agomdbox: mailbox_copy() didn't properly free the save context.
Timo Sirainen [Sat, 16 Feb 2013 11:32:57 +0000 (13:32 +0200)] 
mdbox: mailbox_copy() didn't properly free the save context.

13 years agodsync: Various importer fixes.
Timo Sirainen [Sat, 16 Feb 2013 11:31:37 +0000 (13:31 +0200)] 
dsync: Various importer fixes.

13 years agofts-solr: Don't assert-crash on failures.
Timo Sirainen [Sat, 16 Feb 2013 06:09:41 +0000 (08:09 +0200)] 
fts-solr: Don't assert-crash on failures.

13 years agodsync: Avoid possibly long function recursion.
Timo Sirainen [Sat, 16 Feb 2013 06:01:10 +0000 (08:01 +0200)] 
dsync: Avoid possibly long function recursion.

13 years agodsync: Don't log "remote failed with 75" if we already logged an error from remote.
Timo Sirainen [Sat, 16 Feb 2013 06:00:51 +0000 (08:00 +0200)] 
dsync: Don't log "remote failed with 75" if we already logged an error from remote.
This reduces number of log lines when dsync fails.

13 years agodsync: Don't log a redundant "importing mailbox failed" error.
Timo Sirainen [Sat, 16 Feb 2013 05:59:44 +0000 (07:59 +0200)] 
dsync: Don't log a redundant "importing mailbox failed" error.

13 years agodsync: Don't log read() failed: EOF when remote intentionally fails early.
Timo Sirainen [Sat, 16 Feb 2013 05:53:17 +0000 (07:53 +0200)] 
dsync: Don't log read() failed: EOF when remote intentionally fails early.

13 years agodsync: Various importer fixes. Handle unexpectedly wrong mailbox state better.
Timo Sirainen [Sat, 16 Feb 2013 05:15:55 +0000 (07:15 +0200)] 
dsync: Various importer fixes. Handle unexpectedly wrong mailbox state better.

13 years agodsync: Wait for child process to close only after closing the stdin/out/err to it.
Timo Sirainen [Sat, 16 Feb 2013 05:12:18 +0000 (07:12 +0200)] 
dsync: Wait for child process to close only after closing the stdin/out/err to it.
Otherwise the ssh process doesn't shutdown.

13 years agofs layout: Don't assert-crash if namespace prefix begins with the separator.
Timo Sirainen [Wed, 13 Feb 2013 10:43:34 +0000 (12:43 +0200)] 
fs layout: Don't assert-crash if namespace prefix begins with the separator.

13 years agoRenamed quota_last_extra to quota_grace.
Timo Sirainen [Wed, 13 Feb 2013 10:27:32 +0000 (11:27 +0100)] 
Renamed quota_last_extra to quota_grace.

13 years agoauth: When receiving SIGUSR2 log also about current cache usage.
Timo Sirainen [Wed, 13 Feb 2013 10:22:22 +0000 (12:22 +0200)] 
auth: When receiving SIGUSR2 log also about current cache usage.

13 years agoNEWS, example-config: Add a note about quota_last_extra
Timo Sirainen [Mon, 11 Feb 2013 01:13:45 +0000 (03:13 +0200)] 
NEWS, example-config: Add a note about quota_last_extra

13 years agoquota: Use quota_last_extra only for LDA/LMTP (not for IMAP).
Timo Sirainen [Mon, 11 Feb 2013 01:07:24 +0000 (03:07 +0200)] 
quota: Use quota_last_extra only for LDA/LMTP (not for IMAP).

13 years agolib-lda: Assert-crashfix when sending a rejection mail failed.
Timo Sirainen [Mon, 11 Feb 2013 01:03:12 +0000 (03:03 +0200)] 
lib-lda: Assert-crashfix when sending a rejection mail failed.

13 years agoquota: Added quota_last_extra setting, which defaults to 10%
Timo Sirainen [Mon, 11 Feb 2013 01:02:49 +0000 (03:02 +0200)] 
quota: Added quota_last_extra setting, which defaults to 10%
This can be used to save the last message when user is almost over quota.
So by default the last message can bring the quota over 10% of the total
quota limit. The setting allows also explicit values. Setting it to 0 brings
it back to previous behavior.

13 years agolib-imap-urlauth: Use MAILBOX_ATTRIBUTE_PREFIX_DOVECOT for the imap-urlauth key.
Timo Sirainen [Mon, 11 Feb 2013 00:03:43 +0000 (02:03 +0200)] 
lib-imap-urlauth: Use MAILBOX_ATTRIBUTE_PREFIX_DOVECOT for the imap-urlauth key.

13 years agolib-storage: Added MAILBOX_ATTRIBUTE_DOVECOT_PREFIX macro.
Timo Sirainen [Mon, 11 Feb 2013 00:03:13 +0000 (02:03 +0200)] 
lib-storage: Added MAILBOX_ATTRIBUTE_DOVECOT_PREFIX macro.

13 years agofts-solr: Use built-in lib-http instead of libcurl. Removed libcurl dependency.
Stephan Bosch [Sun, 10 Feb 2013 23:43:25 +0000 (01:43 +0200)] 
fts-solr: Use built-in lib-http instead of libcurl. Removed libcurl dependency.

13 years agodsync: Minor fix to deciding when to use GUIDs vs. header hashes.
Timo Sirainen [Sun, 10 Feb 2013 23:22:51 +0000 (01:22 +0200)] 
dsync: Minor fix to deciding when to use GUIDs vs. header hashes.

13 years agodsync: Fixes for syncing without GUIDs.
Timo Sirainen [Sun, 10 Feb 2013 23:10:57 +0000 (01:10 +0200)] 
dsync: Fixes for syncing without GUIDs.

13 years agodsync: When doing a header-based sync, convert all linefeeds to LFs.
Timo Sirainen [Sun, 10 Feb 2013 23:07:53 +0000 (01:07 +0200)] 
dsync: When doing a header-based sync, convert all linefeeds to LFs.
Fixes syncing where one side used CRLFs and the other side used LFs.

13 years agoi_stream_sync() for file should reset eof flag immediately.
Timo Sirainen [Sun, 10 Feb 2013 22:29:40 +0000 (00:29 +0200)] 
i_stream_sync() for file should reset eof flag immediately.

13 years agodsync: Automatically figure out which mailboxes can sync with message GUIDs.
Timo Sirainen [Sun, 10 Feb 2013 22:28:28 +0000 (00:28 +0200)] 
dsync: Automatically figure out which mailboxes can sync with message GUIDs.

13 years agolib-storage: Added mailbox_status.have_guids flag
Timo Sirainen [Sun, 10 Feb 2013 22:26:15 +0000 (00:26 +0200)] 
lib-storage: Added mailbox_status.have_guids flag

13 years agolib-storage: Minor code cleanup
Timo Sirainen [Sun, 10 Feb 2013 22:25:29 +0000 (00:25 +0200)] 
lib-storage: Minor code cleanup

13 years agolib-storage: Don't unnecessarily clear mailbox_status multiple times.
Timo Sirainen [Sun, 10 Feb 2013 22:24:56 +0000 (00:24 +0200)] 
lib-storage: Don't unnecessarily clear mailbox_status multiple times.

13 years agolib-storage: mailbox_status.nonpermanent_modseqs is now only set with STATUS_HIGHESTM...
Timo Sirainen [Sun, 10 Feb 2013 22:23:07 +0000 (00:23 +0200)] 
lib-storage: mailbox_status.nonpermanent_modseqs is now only set with STATUS_HIGHESTMODSEQ

13 years agodsync: When looking up header hashes, use only Date: and Message-Id: headers
Timo Sirainen [Sun, 10 Feb 2013 21:27:49 +0000 (23:27 +0200)] 
dsync: When looking up header hashes, use only Date: and Message-Id: headers
This makes it more efficient, at least in future when imapc backend
optimizes this.

13 years agodsync: Renamed "guid_requests" to "mail_requests"
Timo Sirainen [Sun, 10 Feb 2013 21:11:52 +0000 (23:11 +0200)] 
dsync: Renamed "guid_requests" to "mail_requests"
The mails aren't necessarily requested by their GUID.

13 years agodsync: Removed unused DSYNC_MAILBOX_IMPORT_FLAG_MAILS_HAVE_GUIDS flag.
Timo Sirainen [Sun, 10 Feb 2013 21:09:55 +0000 (23:09 +0200)] 
dsync: Removed unused DSYNC_MAILBOX_IMPORT_FLAG_MAILS_HAVE_GUIDS flag.

13 years agodsync: Fixed mailbox tree sync with some backends (imapc)
Timo Sirainen [Sun, 10 Feb 2013 21:05:46 +0000 (23:05 +0200)] 
dsync: Fixed mailbox tree sync with some backends (imapc)

13 years agomdbox: Crashfix for storage rebuild
Timo Sirainen [Fri, 8 Feb 2013 14:42:21 +0000 (16:42 +0200)] 
mdbox: Crashfix for storage rebuild

13 years agoAdded signature for changeset fc75811f3c08
Timo Sirainen [Fri, 8 Feb 2013 13:05:40 +0000 (15:05 +0200)] 
Added signature for changeset fc75811f3c08

13 years agoAdded tag 2.1.15 for changeset fc75811f3c08
Timo Sirainen [Fri, 8 Feb 2013 13:05:37 +0000 (15:05 +0200)] 
Added tag 2.1.15 for changeset fc75811f3c08

13 years agoReleased v2.1.15. 2.1.15
Timo Sirainen [Fri, 8 Feb 2013 13:05:36 +0000 (15:05 +0200)] 
Released v2.1.15.

13 years agolib-storage: Convert INBOX to uppercase also when namespace has inbox=no.
Timo Sirainen [Wed, 6 Feb 2013 17:00:52 +0000 (19:00 +0200)] 
lib-storage: Convert INBOX to uppercase also when namespace has inbox=no.
This fixes assert-crash in mailbox_check_mismatching_separators().

13 years agolib-index: Avoid assert-crashing later if mmap(dovecot.index.cache) fails.
Timo Sirainen [Wed, 6 Feb 2013 16:29:22 +0000 (18:29 +0200)] 
lib-index: Avoid assert-crashing later if mmap(dovecot.index.cache) fails.

13 years agolmtp: If verbose_proctitle=yes, update the process state in the title.
Timo Sirainen [Tue, 5 Feb 2013 14:48:29 +0000 (16:48 +0200)] 
lmtp: If verbose_proctitle=yes, update the process state in the title.

13 years agolib-storage: Changed mailbox_attribute_get() to return a struct for value.
Timo Sirainen [Tue, 5 Feb 2013 01:53:40 +0000 (03:53 +0200)] 
lib-storage: Changed mailbox_attribute_get() to return a struct for value.
This allows returning flags for the values in future. Mainly readonly-flag
for internal attributes and when restricted by ACL plugin.

13 years agolib-fs: Changed FS_OPEN_FLAG_UNIMPORTANT to a reversed FS_OPEN_FLAG_FSYNC.
Timo Sirainen [Tue, 5 Feb 2013 01:37:47 +0000 (03:37 +0200)] 
lib-fs: Changed FS_OPEN_FLAG_UNIMPORTANT to a reversed FS_OPEN_FLAG_FSYNC.
This explains its behavior better.

13 years agofs-metawrap: Don't duplicate work if fs_get_metadata() is called multiple times.
Timo Sirainen [Tue, 5 Feb 2013 01:30:01 +0000 (03:30 +0200)] 
fs-metawrap: Don't duplicate work if fs_get_metadata() is called multiple times.

13 years agocydir, dbox, maildir: Don't leak the stream if mail.istream_opened() fails
Timo Sirainen [Tue, 5 Feb 2013 01:24:45 +0000 (03:24 +0200)] 
cydir, dbox, maildir: Don't leak the stream if mail.istream_opened() fails

13 years agolib-index: Memory leak fix
Timo Sirainen [Tue, 5 Feb 2013 01:23:59 +0000 (03:23 +0200)] 
lib-index: Memory leak fix

13 years agofs-metawrap: Memory leak fixes
Timo Sirainen [Tue, 5 Feb 2013 01:23:46 +0000 (03:23 +0200)] 
fs-metawrap: Memory leak fixes

13 years agolib-fs: Avoid memory leaks if file was closed before fs_read()/fs_copy() was finished.
Timo Sirainen [Tue, 5 Feb 2013 01:23:30 +0000 (03:23 +0200)] 
lib-fs: Avoid memory leaks if file was closed before fs_read()/fs_copy() was finished.

13 years agofs-metawrap: Set underlying file async only for fs_read_stream() lookups.
Timo Sirainen [Mon, 4 Feb 2013 23:16:48 +0000 (01:16 +0200)] 
fs-metawrap: Set underlying file async only for fs_read_stream() lookups.

13 years agoiostream-temp: Set a name for the returned istream.
Timo Sirainen [Mon, 4 Feb 2013 20:15:59 +0000 (22:15 +0200)] 
iostream-temp: Set a name for the returned istream.

13 years agolib-http: If http_client_request_set_payload() fails to get stream size, log an error.
Timo Sirainen [Mon, 4 Feb 2013 20:07:14 +0000 (22:07 +0200)] 
lib-http: If http_client_request_set_payload() fails to get stream size, log an error.

13 years agoiostream-temp: Don't try to dup() the stream fd if it's already closed.
Timo Sirainen [Mon, 4 Feb 2013 20:03:10 +0000 (22:03 +0200)] 
iostream-temp: Don't try to dup() the stream fd if it's already closed.

13 years agofs-metawrap: Delay writing the metadata headers until first data is written.
Timo Sirainen [Mon, 4 Feb 2013 20:02:42 +0000 (22:02 +0200)] 
fs-metawrap: Delay writing the metadata headers until first data is written.
Also some other read/write fixes.

13 years agolib-fs: Added FS_OPEN_FLAG_SEEKABLE. Globally handle fs_read_stream() seekability...
Timo Sirainen [Mon, 4 Feb 2013 18:18:22 +0000 (20:18 +0200)] 
lib-fs: Added FS_OPEN_FLAG_SEEKABLE. Globally handle fs_read_stream() seekability and waits.

13 years agofs-metawrap: Fixed stat() to work when parent file's input stream didn't have a parent.
Timo Sirainen [Mon, 4 Feb 2013 18:17:14 +0000 (20:17 +0200)] 
fs-metawrap: Fixed stat() to work when parent file's input stream didn't have a parent.

13 years agofs-metawrap: Error handling fixes
Timo Sirainen [Mon, 4 Feb 2013 18:15:32 +0000 (20:15 +0200)] 
fs-metawrap: Error handling fixes