]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agolib-http: Added more tests for the http_request_parser.
Stephan Bosch [Sat, 12 Oct 2013 07:52:35 +0000 (10:52 +0300)] 
lib-http: Added more tests for the http_request_parser.

12 years agolib-dns: Close dns-client fd before calling callback.
Timo Sirainen [Fri, 11 Oct 2013 18:36:21 +0000 (21:36 +0300)] 
lib-dns: Close dns-client fd before calling callback.
Just in case the callback is slow and keeps the fd unnecessarily long open.

12 years agolib-lda: lmtp_client_connect_tcp() shouldn't immediately call callbacks if dns lookup...
Timo Sirainen [Fri, 11 Oct 2013 17:03:06 +0000 (20:03 +0300)] 
lib-lda: lmtp_client_connect_tcp() shouldn't immediately call callbacks if dns lookup fails.

12 years agoimap: Improved "EOF while appending" disconnect log message.
Timo Sirainen [Fri, 11 Oct 2013 16:27:39 +0000 (19:27 +0300)] 
imap: Improved "EOF while appending" disconnect log message.

12 years agoliblib: If parent ostream closes itself on error, close our ostream as well.
Timo Sirainen [Fri, 11 Oct 2013 16:17:10 +0000 (19:17 +0300)] 
liblib: If parent ostream closes itself on error, close our ostream as well.
This avoids a situation where ostream is basically unusable with
last_failed_errno set, but it's not marked as closed. The current code
often checks ostream->closed but doesn't check last_failed_errno.
ostream-file also autocloses the stream, but filter ostreams without this
patch don't autoclose, so this caused problems with e.g. IMAP COMPRESSION
extension where the zlib-ostream didn't get marked as closed, although the
problem was only logging "BUG: Unknown internal error" instead of
"Disconnected" as the client's disconnect reason.

12 years agoLAYOUT=index: Fixed race condition during mailbox creation.
Timo Sirainen [Fri, 11 Oct 2013 15:54:36 +0000 (18:54 +0300)] 
LAYOUT=index: Fixed race condition during mailbox creation.

12 years agolib-storage: If search finds a match to a cached header, don't open the body stream.
Timo Sirainen [Fri, 11 Oct 2013 09:31:48 +0000 (12:31 +0300)] 
lib-storage: If search finds a match to a cached header, don't open the body stream.

12 years agolib-storage: Header+body searches might not have searched the body in some cases.
Timo Sirainen [Fri, 11 Oct 2013 09:22:56 +0000 (12:22 +0300)] 
lib-storage: Header+body searches might not have searched the body in some cases.
Only the header was requested for the search stream, which with imapc and
pop3c could have caused the body not to be in the stream, although it
usually was because of the "fetch body" hint.

12 years agomaster: host.domain lookups weren't cached, they were done at the worst possible...
Timo Sirainen [Thu, 10 Oct 2013 17:50:10 +0000 (20:50 +0300)] 
master: host.domain lookups weren't cached, they were done at the worst possible time.
This fixes "net_connect_unix(imap) failed: Resource temporarily unavailable"
and various other issues where processes weren't being created fast enough
if the host.domain lookup was slow (e.g. done via external DNS).

12 years agoauth: Added ability to truncate values logged by auth_verbose_passwords.
Timo Sirainen [Tue, 8 Oct 2013 13:48:04 +0000 (16:48 +0300)] 
auth: Added ability to truncate values logged by auth_verbose_passwords.

12 years agolib-http: Added setting for User-Agent header.
Timo Sirainen [Tue, 8 Oct 2013 07:04:55 +0000 (10:04 +0300)] 
lib-http: Added setting for User-Agent header.

12 years agolib-http: Fixed linking with some compilers
Timo Sirainen [Sun, 6 Oct 2013 10:21:15 +0000 (13:21 +0300)] 
lib-http: Fixed linking with some compilers
Inline functions in http-header.h still required linking http-header.lo with
e.g. Sun Studio

12 years agolib-fs: Added FS_OPEN_FLAG_ASYNC_NOQUEUE
Timo Sirainen [Sat, 5 Oct 2013 10:29:26 +0000 (13:29 +0300)] 
lib-fs: Added FS_OPEN_FLAG_ASYNC_NOQUEUE

12 years agodsync: Added missing alarm(0)
Timo Sirainen [Thu, 3 Oct 2013 11:56:23 +0000 (14:56 +0300)] 
dsync: Added missing alarm(0)
This didn't really cause any problems normally since the process was usually
just about to die anyway.

12 years agoIf DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.
Timo Sirainen [Thu, 3 Oct 2013 08:34:48 +0000 (11:34 +0300)] 
If DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.

12 years agodsync: Removed periodic commits while importing.
Timo Sirainen [Thu, 3 Oct 2013 08:20:09 +0000 (11:20 +0300)] 
dsync: Removed periodic commits while importing.
The problem is that the current algorithm doesn't handle it correctly. If
there already are some mails that exist locally, or remote has duplicate
mails, the messages may not be saved in the UID order, and if there's a
commit between such wrong ordering, the UIDs get renumbered.

12 years agomailbox_list_index: Fixed assert-crash sometimes when deleting a mailbox.
Timo Sirainen [Wed, 2 Oct 2013 08:48:31 +0000 (11:48 +0300)] 
mailbox_list_index: Fixed assert-crash sometimes when deleting a mailbox.

12 years agodoveadm fs delete: Added -R parameter for recursive deletion.
Timo Sirainen [Mon, 30 Sep 2013 12:28:04 +0000 (15:28 +0300)] 
doveadm fs delete: Added -R parameter for recursive deletion.

12 years agolib-storage: Fail with an error instead of crash with namespace prefix=inbox/
Timo Sirainen [Mon, 30 Sep 2013 06:04:43 +0000 (09:04 +0300)] 
lib-storage: Fail with an error instead of crash with namespace prefix=inbox/

12 years agoPanic if io_remove() fails with EBADF.
Timo Sirainen [Thu, 26 Sep 2013 03:51:43 +0000 (05:51 +0200)] 
Panic if io_remove() fails with EBADF.
It's a bug that shouldn't really be ignored. Panicing will give a debuggable
core dump.

12 years agolib-http: 32bit system fix.
Timo Sirainen [Thu, 26 Sep 2013 02:55:59 +0000 (04:55 +0200)] 
lib-http: 32bit system fix.

12 years agoAdded signature for changeset 1de9a494cb25
Timo Sirainen [Wed, 25 Sep 2013 07:06:19 +0000 (10:06 +0300)] 
Added signature for changeset 1de9a494cb25

12 years agoAdded tag 2.2.6 for changeset 1de9a494cb25
Timo Sirainen [Wed, 25 Sep 2013 07:06:08 +0000 (10:06 +0300)] 
Added tag 2.2.6 for changeset 1de9a494cb25

12 years agoReleased v2.2.6. 2.2.6
Timo Sirainen [Wed, 25 Sep 2013 07:06:08 +0000 (10:06 +0300)] 
Released v2.2.6.

12 years agomaster: Added reuse_port setting to inet_listeners, which enables SO_REUSEPORT if...
Timo Sirainen [Mon, 23 Sep 2013 01:25:16 +0000 (04:25 +0300)] 
master: Added reuse_port setting to inet_listeners, which enables SO_REUSEPORT if available.
After forking a new service process, a new listener socket is created for
each such inet_listener. Linux v3.9+ added SO_REUSEPORT feature, which
should distribute clients more uniformly to the processes. I'm not sure if
this makes any difference in BSDs.

At least in Linux v3.9 there was still a bug that if the number of listening
processes changed, some TCP handshakes might not finish. I don't see if this
has already been fixed, so this is probably safe to use only for services
whose process count doesn't change (e.g. process_min_avail is set high
enough).

12 years agolib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available.
Timo Sirainen [Mon, 23 Sep 2013 01:06:08 +0000 (04:06 +0300)] 
lib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available.

12 years agoimapc: Don't crash if imapc_password is missing.
Timo Sirainen [Sun, 22 Sep 2013 04:43:31 +0000 (07:43 +0300)] 
imapc: Don't crash if imapc_password is missing.

12 years agomaildir: Autocreate missing cur/ new/ tmp/ directories only with Maildir++ and imapdir.
Timo Sirainen [Sun, 22 Sep 2013 04:40:01 +0000 (07:40 +0300)] 
maildir: Autocreate missing cur/ new/ tmp/ directories only with Maildir++ and imapdir.
\Noselect mailboxes aren't possible with those layouts, but with other
layouts they are and they shouldn't get automatically created just by
selecting them.

12 years agoi_getpw*(): Added OpenBSD workaround.
Timo Sirainen [Sun, 22 Sep 2013 04:24:26 +0000 (07:24 +0300)] 
i_getpw*(): Added OpenBSD workaround.

12 years agoistream-attachment-connector: Add base64 parameters to stream name for error messages.
Timo Sirainen [Sun, 22 Sep 2013 04:20:12 +0000 (07:20 +0300)] 
istream-attachment-connector: Add base64 parameters to stream name for error messages.

12 years agoistream-sized: Fail read() also when the stream is larger than it should have been.
Timo Sirainen [Sun, 22 Sep 2013 04:19:39 +0000 (07:19 +0300)] 
istream-sized: Fail read() also when the stream is larger than it should have been.

12 years agombox: Fixed assert-crash due to wrong transaction_count handling.
Timo Sirainen [Sun, 22 Sep 2013 03:30:47 +0000 (06:30 +0300)] 
mbox: Fixed assert-crash due to wrong transaction_count handling.
This happened only when messages had been expunged by another session just
before saving a new message.

12 years agolib-fs: Improved fs_write_*() error messages.
Timo Sirainen [Sun, 22 Sep 2013 01:41:50 +0000 (04:41 +0300)] 
lib-fs: Improved fs_write_*() error messages.

12 years agolib-storage: Improve error message logging when attachment writing fails
Timo Sirainen [Sun, 22 Sep 2013 01:40:02 +0000 (04:40 +0300)] 
lib-storage: Improve error message logging when attachment writing fails

12 years agolib: Added [io]_stream_create_error_str()
Timo Sirainen [Sun, 22 Sep 2013 01:39:35 +0000 (04:39 +0300)] 
lib: Added [io]_stream_create_error_str()

12 years agoostream-errno: last_failed_errno wasn't set, causing problems with some functions.
Timo Sirainen [Sun, 22 Sep 2013 01:24:29 +0000 (04:24 +0300)] 
ostream-errno: last_failed_errno wasn't set, causing problems with some functions.

12 years agoFixes and improvements to istream-attachment-extractor error handling.
Timo Sirainen [Sun, 22 Sep 2013 01:14:23 +0000 (04:14 +0300)] 
Fixes and improvements to istream-attachment-extractor error handling.
If an attachment saving failed, the mail was still saved to disk, just
without the attachments.

12 years agoacl: Hide non-listable mailboxes from a shared subscriptions file.
Timo Sirainen [Sun, 22 Sep 2013 00:40:14 +0000 (03:40 +0300)] 
acl: Hide non-listable mailboxes from a shared subscriptions file.

12 years agoexample-config: Fixed login_log_format comment.
Timo Sirainen [Sun, 22 Sep 2013 00:17:12 +0000 (03:17 +0300)] 
example-config: Fixed login_log_format comment.

12 years agoauth: If auth_verbose_passwords is set, log the password also for unknown users.
Timo Sirainen [Sat, 21 Sep 2013 23:44:21 +0000 (02:44 +0300)] 
auth: If auth_verbose_passwords is set, log the password also for unknown users.

12 years agoauth: Use a common auth_request_log_unknown_user() for logging "unknown user" entries.
Timo Sirainen [Sat, 21 Sep 2013 23:32:05 +0000 (02:32 +0300)] 
auth: Use a common auth_request_log_unknown_user() for logging "unknown user" entries.

12 years agonet_listen_unix(): If path is too long, return EOVERFLOW instead of EINVAL.
Timo Sirainen [Sat, 21 Sep 2013 23:24:05 +0000 (02:24 +0300)] 
net_listen_unix(): If path is too long, return EOVERFLOW instead of EINVAL.

12 years agoIf EOVERFLOW errno isn't defined by system, fallback to ERANGE instead of EINVAL.
Timo Sirainen [Sat, 21 Sep 2013 23:23:30 +0000 (02:23 +0300)] 
If EOVERFLOW errno isn't defined by system, fallback to ERANGE instead of EINVAL.
ERANGE is used by other functions as well, such as getpwnam_r().

12 years agoAdded ssl_prefer_server_ciphers setting.
Timo Sirainen [Sat, 21 Sep 2013 23:20:09 +0000 (02:20 +0300)] 
Added ssl_prefer_server_ciphers setting.

12 years agombox: Fixed mailbox_list_index=yes to work with non-Dovecot mbox changes.
Timo Sirainen [Sat, 21 Sep 2013 23:07:16 +0000 (02:07 +0300)] 
mbox: Fixed mailbox_list_index=yes to work with non-Dovecot mbox changes.

12 years ago*-login: Added %{orig_user}, %{orig_username} and %{orig_domain} variables.
Timo Sirainen [Sat, 21 Sep 2013 22:40:11 +0000 (01:40 +0300)] 
*-login: Added %{orig_user}, %{orig_username} and %{orig_domain} variables.
The original username is what the client sent to server before any
translations.

12 years agodsync: Added -P parameter to do a purge for the remote storage after syncing.
Timo Sirainen [Sat, 21 Sep 2013 22:09:32 +0000 (01:09 +0300)] 
dsync: Added -P parameter to do a purge for the remote storage after syncing.

12 years agolib-storage: Fixed listescape when escape_char was the same as namespace separator.
Timo Sirainen [Sat, 21 Sep 2013 20:33:42 +0000 (23:33 +0300)] 
lib-storage: Fixed listescape when escape_char was the same as namespace separator.

12 years agoimap: Send * OK [CLOSED] always before tagged SELECT reply.
Timo Sirainen [Sat, 21 Sep 2013 02:28:45 +0000 (05:28 +0300)] 
imap: Send * OK [CLOSED] always before tagged SELECT reply.

12 years agolib-storage: Don't create a settings cache for initial global settings read.
Timo Sirainen [Sat, 21 Sep 2013 02:05:22 +0000 (05:05 +0300)] 
lib-storage: Don't create a settings cache for initial global settings read.
This fixes at least doveadm -A so that it doesn't connect to config process
for each user.

12 years agoauth: Fixed user iteration hang due to earlier stream corking changes.
Timo Sirainen [Sat, 21 Sep 2013 02:03:03 +0000 (05:03 +0300)] 
auth: Fixed user iteration hang due to earlier stream corking changes.
Also fixed process title updating for auth-worker process during LIST.

12 years agolib-auth: Fixed infinite looping if user listing failed because auth process disconne...
Timo Sirainen [Sat, 21 Sep 2013 01:48:52 +0000 (04:48 +0300)] 
lib-auth: Fixed infinite looping if user listing failed because auth process disconnected.

12 years agolib-auth: Recent cleanup commit was actually cleaning up too much.
Timo Sirainen [Sat, 21 Sep 2013 01:02:51 +0000 (04:02 +0300)] 
lib-auth: Recent cleanup commit was actually cleaning up too much.

12 years agodoveadm sync: When -1 parameter is used, ignore missing mailboxes in source.
Timo Sirainen [Sat, 21 Sep 2013 00:49:22 +0000 (03:49 +0300)] 
doveadm sync: When -1 parameter is used, ignore missing mailboxes in source.
Previously the syncs finished with "Mailbox changes caused a desync." and
exit code 2. This was especially common when the destination server had
new autocreated mailboxes and user logged in after the first dsync.

12 years agodsync: Added more consistency when debug logging about changes during sync.
Timo Sirainen [Sat, 21 Sep 2013 00:40:46 +0000 (03:40 +0300)] 
dsync: Added more consistency when debug logging about changes during sync.

12 years agodsync: Added some more debug logging.
Timo Sirainen [Sat, 21 Sep 2013 00:29:09 +0000 (03:29 +0300)] 
dsync: Added some more debug logging.

12 years agoimapc: Don't log unnecessary errors at deinit about aborted hiearchy separator lookup.
Timo Sirainen [Fri, 20 Sep 2013 23:55:27 +0000 (02:55 +0300)] 
imapc: Don't log unnecessary errors at deinit about aborted hiearchy separator lookup.
The lookup is done asynchronously at startup. It doesn't matter if we never
get around to finishing it.

12 years agodirector: Detect lost director restarts and reset last_sync_seq.
Timo Sirainen [Fri, 20 Sep 2013 07:45:22 +0000 (10:45 +0300)] 
director: Detect lost director restarts and reset last_sync_seq.

12 years agodirector: Make sure director restart notifications go to everyone in the ring.
Timo Sirainen [Fri, 20 Sep 2013 07:35:34 +0000 (10:35 +0300)] 
director: Make sure director restart notifications go to everyone in the ring.

12 years agodirector: Directors weren't always marked as restarted when they were.
Timo Sirainen [Fri, 20 Sep 2013 07:12:24 +0000 (10:12 +0300)] 
director: Directors weren't always marked as restarted when they were.

12 years agodirector: Fix & improvement to debug logging.
Timo Sirainen [Fri, 20 Sep 2013 07:11:45 +0000 (10:11 +0300)] 
director: Fix & improvement to debug logging.

12 years agodirector: Added more debug logging.
Timo Sirainen [Fri, 20 Sep 2013 07:00:48 +0000 (10:00 +0300)] 
director: Added more debug logging.

12 years agodirector: Don't assert-crash if PASS lookup fails.
Timo Sirainen [Fri, 20 Sep 2013 06:46:31 +0000 (09:46 +0300)] 
director: Don't assert-crash if PASS lookup fails.

12 years agodsync: Don't log "Mailbox changes caused a desync" warning when running via doveadm...
Timo Sirainen [Fri, 20 Sep 2013 01:27:29 +0000 (04:27 +0300)] 
dsync: Don't log "Mailbox changes caused a desync" warning when running via doveadm-server.

12 years agossl-params: Long-running ssl-params process shouldn't cause Dovecot restart to fail.
Timo Sirainen [Fri, 20 Sep 2013 01:20:22 +0000 (04:20 +0300)] 
ssl-params: Long-running ssl-params process shouldn't cause Dovecot restart to fail.

12 years agolib-ssl-iostream: Give better error message if CA settings are missing.
Timo Sirainen [Fri, 20 Sep 2013 01:01:10 +0000 (04:01 +0300)] 
lib-ssl-iostream: Give better error message if CA settings are missing.

12 years agodbox: Fixed "UIDVALIDITY=0" error race condition.
Timo Sirainen [Fri, 20 Sep 2013 00:54:31 +0000 (03:54 +0300)] 
dbox: Fixed "UIDVALIDITY=0" error race condition.
If session 1 had mkdir()ed but not yet created the initial index, while
session 2 attempted to open the mailbox, it would create an empty index and
log the error.

12 years agomaster: Make sure new processes aren't created after stop signal is received.
Timo Sirainen [Fri, 20 Sep 2013 00:41:51 +0000 (03:41 +0300)] 
master: Make sure new processes aren't created after stop signal is received.

12 years agombox: Handle correctly if MAIL_FETCH_HEADER_MD5 lookup fails because mail is already...
Timo Sirainen [Thu, 19 Sep 2013 23:38:53 +0000 (02:38 +0300)] 
mbox: Handle correctly if MAIL_FETCH_HEADER_MD5 lookup fails because mail is already expunged.

12 years agolib-auth: Don't leave stale pointers to stack lying around in memory.
Timo Sirainen [Thu, 19 Sep 2013 23:28:45 +0000 (02:28 +0300)] 
lib-auth: Don't leave stale pointers to stack lying around in memory.

12 years agoioloop-kqueue: Added assert
Timo Sirainen [Thu, 19 Sep 2013 21:59:36 +0000 (00:59 +0300)] 
ioloop-kqueue: Added assert

12 years agoimap: If FETCH fails, log the stream's error string instead of errno.
Timo Sirainen [Thu, 19 Sep 2013 21:22:15 +0000 (00:22 +0300)] 
imap: If FETCH fails, log the stream's error string instead of errno.

12 years agoistream-chain/concat/seekable: When child stream fails, copy its error to ourself.
Timo Sirainen [Thu, 19 Sep 2013 21:20:19 +0000 (00:20 +0300)] 
istream-chain/concat/seekable: When child stream fails, copy its error to ourself.

12 years agoistream-file: Assert-crash if read() fails with EBADF.
Timo Sirainen [Thu, 19 Sep 2013 21:14:11 +0000 (00:14 +0300)] 
istream-file: Assert-crash if read() fails with EBADF.
Something's already wrong at that point and it may not be safe to continue.
Also crashing makes it easier to debug such situation.

12 years agoiostreams: Set stream error string when it provides extra information.
Timo Sirainen [Thu, 19 Sep 2013 21:12:45 +0000 (00:12 +0300)] 
iostreams: Set stream error string when it provides extra information.

12 years agoiostream: Added ability to set/get error strings for streams.
Timo Sirainen [Thu, 19 Sep 2013 21:00:49 +0000 (00:00 +0300)] 
iostream: Added ability to set/get error strings for streams.

12 years agodoveadm: Added "auth lookup" command to do a passdb lookup.
Timo Sirainen [Thu, 19 Sep 2013 19:44:20 +0000 (22:44 +0300)] 
doveadm: Added "auth lookup" command to do a passdb lookup.

12 years agoauth: Fixed non-auth passdb lookup when password had ".<encoding>" suffix.
Timo Sirainen [Thu, 19 Sep 2013 19:43:45 +0000 (22:43 +0300)] 
auth: Fixed non-auth passdb lookup when password had ".<encoding>" suffix.

12 years agoimapc: Abort pending commands before any deinitialization to avoid crashes.
Timo Sirainen [Thu, 19 Sep 2013 19:20:56 +0000 (22:20 +0300)] 
imapc: Abort pending commands before any deinitialization to avoid crashes.

12 years agolib-http: Created tests for http_request_parser.
Stephan Bosch [Wed, 18 Sep 2013 20:24:30 +0000 (23:24 +0300)] 
lib-http: Created tests for http_request_parser.

12 years agouri-util: Improved authority 'host' parse error.
Stephan Bosch [Wed, 18 Sep 2013 20:24:22 +0000 (23:24 +0300)] 
uri-util: Improved authority 'host' parse error.

12 years agolib-http: http-url: Fixed return of proper error message in case of a failure to...
Stephan Bosch [Wed, 18 Sep 2013 20:24:11 +0000 (23:24 +0300)] 
lib-http: http-url: Fixed return of proper error message in case of a failure to parse request target Host header.
Assigned the error to the parser object rather than returning it directly.

12 years agolib-http: Fixed handling of limits=NULL parameter for http_request_parser_init.
Stephan Bosch [Wed, 18 Sep 2013 20:24:02 +0000 (23:24 +0300)] 
lib-http: Fixed handling of limits=NULL parameter for http_request_parser_init.
Got messed up in patch queue.

12 years agodsync: Don't attempt to access mailbox contents with -g "" or -m "" parameter.
Timo Sirainen [Tue, 17 Sep 2013 21:00:05 +0000 (00:00 +0300)] 
dsync: Don't attempt to access mailbox contents with -g "" or -m "" parameter.

12 years agolib-storage: Added a separate prefix for server metadata that aren't deleted with...
Timo Sirainen [Tue, 17 Sep 2013 20:32:57 +0000 (23:32 +0300)] 
lib-storage: Added a separate prefix for server metadata that aren't deleted with INBOX.

12 years agodsync: Improved debug/error logging for changes during sync.
Timo Sirainen [Tue, 17 Sep 2013 20:12:03 +0000 (23:12 +0300)] 
dsync: Improved debug/error logging for changes during sync.

12 years agolib-http: Added (non-default) support for parsing user:pasword from HTTP URL.
Stephan Bosch [Tue, 17 Sep 2013 18:57:48 +0000 (21:57 +0300)] 
lib-http: Added (non-default) support for parsing user:pasword from HTTP URL.

12 years agolib-imap: imap-url: Forgot to check for the presence of ':' in userinfo, which is...
Stephan Bosch [Tue, 17 Sep 2013 18:57:14 +0000 (21:57 +0300)] 
lib-imap: imap-url: Forgot to check for the presence of ':' in userinfo, which is not allowed.

12 years agoimap: Fixed/improved error logging for FETCH
Timo Sirainen [Mon, 16 Sep 2013 07:05:24 +0000 (10:05 +0300)] 
imap: Fixed/improved error logging for FETCH

12 years agolib-http: http-client: Allow overriding all implicitly generated special headers.
Stephan Bosch [Mon, 16 Sep 2013 23:40:17 +0000 (02:40 +0300)] 
lib-http: http-client: Allow overriding all implicitly generated special headers.
Which are: Connection, Content-Length, Date, Expect, Host, and Transfer-Encoding.

12 years agoFixed uri_parse_slashslash_authority() to skip over "//".
Timo Sirainen [Mon, 16 Sep 2013 10:17:52 +0000 (13:17 +0300)] 
Fixed uri_parse_slashslash_authority() to skip over "//".

12 years agolib-http: http-client: Fixed segfault caused by earlier improvement of connection...
Stephan Bosch [Sun, 15 Sep 2013 22:02:03 +0000 (01:02 +0300)] 
lib-http: http-client: Fixed segfault caused by earlier improvement of connection output locking.
Segfault was triggered when an aborted request received a response.

12 years agolib-http: http-client: Implemented explicit HTTP/1.0 support.
Stephan Bosch [Sun, 15 Sep 2013 00:56:47 +0000 (03:56 +0300)] 
lib-http: http-client: Implemented explicit HTTP/1.0 support.

12 years agolib-http: Added support for handling HTTP/1.0 messages explicitly.
Stephan Bosch [Sun, 15 Sep 2013 00:56:25 +0000 (03:56 +0300)] 
lib-http: Added support for handling HTTP/1.0 messages explicitly.
This means that default connection persistence semantics are inverted for
HTTP/1.0 and keep-alive Connection option is recognized.

12 years agolib-http: Added support for parsing Expect: header (currently only accepts `100-conti...
Stephan Bosch [Sun, 15 Sep 2013 00:55:57 +0000 (03:55 +0300)] 
lib-http: Added support for parsing Expect: header (currently only accepts `100-continue').

12 years agolib-http: http-request-parser: Added function to test whether payload from previous...
Stephan Bosch [Sun, 15 Sep 2013 00:55:11 +0000 (03:55 +0300)] 
lib-http: http-request-parser: Added function to test whether payload from previous request is still being parsed.
This is needed in the server implementation to check whether a request is
completely read.

12 years agolib-http: Implemented limits on request method and target length.
Stephan Bosch [Sun, 15 Sep 2013 00:54:04 +0000 (03:54 +0300)] 
lib-http: Implemented limits on request method and target length.

12 years agolib-http: Added support for enforcing a payload limit for incoming HTTP messages.
Stephan Bosch [Sun, 15 Sep 2013 00:52:01 +0000 (03:52 +0300)] 
lib-http: Added support for enforcing a payload limit for incoming HTTP messages.

12 years agolib-http: Adjusted message and request parsers to return an error code.
Stephan Bosch [Sun, 15 Sep 2013 00:50:08 +0000 (03:50 +0300)] 
lib-http: Adjusted message and request parsers to return an error code.

12 years agolib-http: Adjusted request parser to pre-parse the request target and host header...
Stephan Bosch [Sun, 15 Sep 2013 00:47:54 +0000 (03:47 +0300)] 
lib-http: Adjusted request parser to pre-parse the request target and host header into a proper target url.