platform/upstream/curl.git
11 years agosasl-ir: Added CURLOPT_SASL_IR to enable/disable the SASL initial response
Steve Holme [Sat, 27 Apr 2013 08:39:21 +0000 (09:39 +0100)]
sasl-ir: Added CURLOPT_SASL_IR to enable/disable the SASL initial response

11 years agocurl_easy_init: use less mallocs
Daniel Stenberg [Fri, 26 Apr 2013 20:23:08 +0000 (22:23 +0200)]
curl_easy_init: use less mallocs

By introducing an internal alternative to curl_multi_init() that accepts
parameters to set the hash sizes, easy handles will now use tiny socket
and connection hash tables since it will only ever add a single easy
handle to that multi handle.

This decreased the number mallocs in test 40 (which is a rather simple
and typical easy interface use case) from 1142 to 138. The maximum
amount of memory allocated used went down from 118969 to 78805.

11 years agoftpserver.pl: Fixed imap logout confirmation data
Steve Holme [Fri, 26 Apr 2013 20:12:36 +0000 (21:12 +0100)]
ftpserver.pl: Fixed imap logout confirmation data

An IMAP server should response with the BYE continuation response before
confirming the LOGOUT command was successful.

11 years agoftp_state_pasv_resp: connect through proxy also when set by env
Daniel Stenberg [Fri, 26 Apr 2013 14:45:31 +0000 (16:45 +0200)]
ftp_state_pasv_resp: connect through proxy also when set by env

When connecting back to an FTP server after having sent PASV/EPSV,
libcurl sometimes didn't use the proxy properly even though the proxy
was used for the initial connect.

The function wrongly checked for the CURLOPT_PROXY variable to be set,
which made it act wrongly if the proxy information was set with an
environment variable.

Added test case 711 to verify (based on 707 which uses --socks5). Also
added test712 to verify another variation of setting the proxy: with
--proxy socks5://

Bug: http://curl.haxx.se/bug/view.cgi?id=1218
Reported-by: Zekun Ni
11 years agourl: initialize speed-check data for file:// protocol
Zdenek Pavlas [Fri, 26 Apr 2013 12:56:38 +0000 (14:56 +0200)]
url: initialize speed-check data for file:// protocol

... in order to prevent an artificial timeout event based on stale
speed-check data from a previous network transfer.  This commit fixes
a regression caused by 9dd85bced56f6951107f69e581c872c1e7e3e58e.

Bug: https://bugzilla.redhat.com/906031

11 years agotest709: clarify the test in the name
Daniel Stenberg [Thu, 25 Apr 2013 21:42:38 +0000 (23:42 +0200)]
test709: clarify the test in the name

11 years agosshserver: disable StrictHostKeyChecking
Daniel Stenberg [Thu, 25 Apr 2013 21:40:31 +0000 (23:40 +0200)]
sshserver: disable StrictHostKeyChecking

I couldn't figure out why the host key logic isn't working, but having
it set to yes prevents my SSH-based test cases to run. I also don't see
a strong need to use strict host key checking on this test server.

So I disabled it.

11 years agoruntests: log more commands in verbose mode
Daniel Stenberg [Thu, 25 Apr 2013 21:40:01 +0000 (23:40 +0200)]
runtests: log more commands in verbose mode

... to aid tracking down failures

11 years agoTODO: Corrected copy/paste typo
Steve Holme [Thu, 25 Apr 2013 19:18:08 +0000 (20:18 +0100)]
TODO: Corrected copy/paste typo

11 years agoTODO: Added new ideas for future SMTP, POP3 and IMAP features
Steve Holme [Thu, 25 Apr 2013 19:10:09 +0000 (20:10 +0100)]
TODO: Added new ideas for future SMTP, POP3 and IMAP features

11 years agoTODO: Updated following the addition of ;auth=<MECH> support
Steve Holme [Thu, 25 Apr 2013 18:48:34 +0000 (19:48 +0100)]
TODO: Updated following the addition of ;auth=<MECH> support

11 years agoDOCS: Minor rewording / clarification of host name protocol detection
Steve Holme [Thu, 25 Apr 2013 12:30:17 +0000 (13:30 +0100)]
DOCS: Minor rewording / clarification of host name protocol detection

11 years agoRELEASE-NOTES: synced with a8c92cb60890
Steve Holme [Wed, 24 Apr 2013 18:40:06 +0000 (19:40 +0100)]
RELEASE-NOTES: synced with a8c92cb60890

11 years agoDOCS: Added reference to IETF draft for SMTP URL Interface
Steve Holme [Wed, 24 Apr 2013 18:35:38 +0000 (19:35 +0100)]
DOCS: Added reference to IETF draft for SMTP URL Interface

...when mentioning login options. Additional minor clarification of
"Windows builds" to be "Windows builds with SSPI"as a way of enabling
NTLM as Windows builds may be built with OpenSSL to enable NTLM or
without NTLM support altogether.

11 years agoHISTORY: Fix spelling error.
Linus Nielsen Feltzing [Tue, 23 Apr 2013 19:41:38 +0000 (21:41 +0200)]
HISTORY: Fix spelling error.

11 years agoDOCS: Reworked the scheme calculation explanation under CURLOPT_URL
Steve Holme [Tue, 23 Apr 2013 18:57:12 +0000 (19:57 +0100)]
DOCS: Reworked the scheme calculation explanation under CURLOPT_URL

11 years agourl: Added smtp and pop3 hostnames to the protocol detection list
Steve Holme [Tue, 23 Apr 2013 18:43:06 +0000 (19:43 +0100)]
url: Added smtp and pop3 hostnames to the protocol detection list

11 years agoHISTORY: correct some years/dates
Daniel Stenberg [Tue, 23 Apr 2013 14:21:29 +0000 (16:21 +0200)]
HISTORY: correct some years/dates

Thanks to archive.org's wayback machine I updated this document with
some facts from the early httpget/urlget web page:

http://web.archive.org/web/19980216125115/http://www.inf.ufrgs.br/~sagula/urlget.html

11 years agotests: add test1511 to check timecond clean-up
Alessandro Ghedini [Mon, 22 Apr 2013 18:07:15 +0000 (20:07 +0200)]
tests: add test1511 to check timecond clean-up

Verifies the timecond fix in commit c49ed0b6c0f

11 years agogetinfo.c: reset timecond when clearing session-info variables
Alessandro Ghedini [Sat, 20 Apr 2013 10:09:55 +0000 (12:09 +0200)]
getinfo.c: reset timecond when clearing session-info variables

Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705783
Reported-by: Ludovico Cavedon <cavedon@debian.org>
11 years agoDOCS: Added information about login options to CURLOPT_USERPWD
Steve Holme [Mon, 22 Apr 2013 18:21:07 +0000 (19:21 +0100)]
DOCS: Added information about login options to CURLOPT_USERPWD

11 years agoDOCS: Added information about login options in the URL
Steve Holme [Mon, 22 Apr 2013 18:12:46 +0000 (19:12 +0100)]
DOCS: Added information about login options in the URL

11 years agourl: Fixed missing length check in parse_proxy()
Steve Holme [Sun, 21 Apr 2013 17:29:33 +0000 (18:29 +0100)]
url: Fixed missing length check in parse_proxy()

Commit 11332577b3cb removed the length check that was performed by the
old scanf() code.

11 years agourl: Fixed crash when no username or password supplied for proxy
Steve Holme [Sun, 21 Apr 2013 15:55:19 +0000 (16:55 +0100)]
url: Fixed crash when no username or password supplied for proxy

Fixed an issue in parse_proxy(), introduced in commit 11332577b3cb,
where an empty username or password (For example: http://:@example.com)
would cause a crash.

11 years agourl: Removed unused text length constants
Steve Holme [Sun, 21 Apr 2013 11:11:50 +0000 (12:11 +0100)]
url: Removed unused text length constants

11 years agourl: Updated proxy URL parsing to use parse_login_details()
Steve Holme [Sun, 21 Apr 2013 11:08:35 +0000 (12:08 +0100)]
url: Updated proxy URL parsing to use parse_login_details()

11 years agourl: Tidy up of setstropt_userpwd() parameters
Steve Holme [Sun, 21 Apr 2013 09:16:51 +0000 (10:16 +0100)]
url: Tidy up of setstropt_userpwd() parameters

Updated the naming convention of the login parameters to match those of
other functions.

11 years agourl: Tidy up of code and comments following recent changes
Steve Holme [Sun, 21 Apr 2013 09:08:17 +0000 (10:08 +0100)]
url: Tidy up of code and comments following recent changes

Tidy up of variable names and comments in setstropt_userpwd() and
parse_login_details().

11 years agourl: Simplified setstropt_userpwd() following recent changes
Steve Holme [Sat, 20 Apr 2013 19:01:40 +0000 (20:01 +0100)]
url: Simplified setstropt_userpwd() following recent changes

There is no need to perform separate clearing of data if a NULL option
pointer is passed in. Instead this operation can be performed by simply
not calling parse_login_details() and letting the rest of the code do
the work.

11 years agourl: Correction to scope of if statements when setting data
Steve Holme [Sat, 20 Apr 2013 18:10:10 +0000 (19:10 +0100)]
url: Correction to scope of if statements when setting data

11 years agourl: Fixed memory leak in setstropt_userpwd()
Steve Holme [Sat, 20 Apr 2013 17:40:13 +0000 (18:40 +0100)]
url: Fixed memory leak in setstropt_userpwd()

setstropt_userpwd() was calling setstropt() in commit fddb7b44a79d to
set each of the login details which would duplicate the strings and
subsequently cause a memory leak.

11 years agoRELEASE-NOTES: synced with d535c4a2e1f7
Steve Holme [Sat, 20 Apr 2013 08:54:55 +0000 (09:54 +0100)]
RELEASE-NOTES: synced with d535c4a2e1f7

11 years agourl: Added overriding of URL login options from CURLOPT_USERPWD
Steve Holme [Sat, 20 Apr 2013 08:06:53 +0000 (09:06 +0100)]
url: Added overriding of URL login options from CURLOPT_USERPWD

11 years agotool_paramhlp: Fixed options being included in username
Steve Holme [Sat, 20 Apr 2013 07:51:16 +0000 (08:51 +0100)]
tool_paramhlp: Fixed options being included in username

Fix to prevent the options from being displayed when curl requests the
user's password if the following command line is specified:

--user username;options

11 years agourl: Added support for parsing login options from the CURLOPT_USERPWD
Steve Holme [Sat, 20 Apr 2013 07:47:59 +0000 (08:47 +0100)]
url: Added support for parsing login options from the CURLOPT_USERPWD

In addition to parsing the optional login options from the URL, added
support for parsing them from CURLOPT_USERPWD, to allow the following
supported command line:

--user username:password;options

11 years agourl: Added bounds checking to parse_login_details()
Steve Holme [Fri, 19 Apr 2013 18:37:55 +0000 (19:37 +0100)]
url: Added bounds checking to parse_login_details()

Added bounds checking when searching for the separator characters within
the login string as this string may not be NULL terminated (For example
it is the login part of a URL). We do this in preference to allocating a
new string to copy the login details into which could then be passed to
parse_login_details() for performance reasons.

11 years agourl: Added size_t cast to pointer based length calculations
Steve Holme [Fri, 19 Apr 2013 13:11:43 +0000 (14:11 +0100)]
url: Added size_t cast to pointer based length calculations

11 years agourl: Corrected minor typo in comment
Steve Holme [Fri, 19 Apr 2013 11:53:59 +0000 (12:53 +0100)]
url: Corrected minor typo in comment

11 years agoCURL_CHECK_CA_BUNDLE: don't check for paths when cross-compiling
Daniel Stenberg [Thu, 18 Apr 2013 21:37:56 +0000 (23:37 +0200)]
CURL_CHECK_CA_BUNDLE: don't check for paths when cross-compiling

When cross-compiling we can't scan and detect existing files or paths.

Bug: http://curl.haxx.se/mail/lib-2013-04/0294.html

11 years agousercertinmem.c: add example showing user cert in memory
Ishan SinghLevett [Thu, 18 Apr 2013 21:05:36 +0000 (23:05 +0200)]
usercertinmem.c: add example showing user cert in memory

Relies on CURLOPT_SSL_CTX_FUNCTION, which is OpenSSL specific

11 years agourl: Fix chksrc longer than 79 columns warning
Steve Holme [Thu, 18 Apr 2013 19:21:11 +0000 (20:21 +0100)]
url: Fix chksrc longer than 79 columns warning

11 years agourl: Fix incorrect variable type for result code
Steve Holme [Thu, 18 Apr 2013 18:18:02 +0000 (19:18 +0100)]
url: Fix incorrect variable type for result code

11 years agourl: Fix compiler warning
Steve Holme [Thu, 18 Apr 2013 18:14:25 +0000 (19:14 +0100)]
url: Fix compiler warning

signed and unsigned type in conditional expression

11 years agourl: Moved parsing of login details out of parse_url_login()
Steve Holme [Thu, 18 Apr 2013 16:52:05 +0000 (17:52 +0100)]
url: Moved parsing of login details out of parse_url_login()

Separated the parsing of login details from the processing of them in
parse_url_login() ready for use by setstropt_userpwd().

11 years agourl: Re-factored set_userpass() and parse_url_userpass()
Steve Holme [Thu, 18 Apr 2013 16:09:40 +0000 (17:09 +0100)]
url: Re-factored set_userpass() and parse_url_userpass()

Re-factored these functions to reflect their new behaviour following the
addition of login options.

11 years agourl: Reworked URL parsing to allow overriding by CURLOPT_USERPWD
Steve Holme [Thu, 18 Apr 2013 16:02:28 +0000 (17:02 +0100)]
url: Reworked URL parsing to allow overriding by CURLOPT_USERPWD

11 years agomaketgz: make bzip2 creation work with Parallel BZIP2 too
Daniel Stenberg [Thu, 18 Apr 2013 09:13:56 +0000 (11:13 +0200)]
maketgz: make bzip2 creation work with Parallel BZIP2 too

Apparently the previous usage didn't work with that implementation,
while this updated version works with at least both Parallel BZIP2
v1.1.8 and regular bzip "Version 1.0.6, 6-Sept-2010".

11 years agoAdd tests/http_pipe.py to the tarball build
Linus Nielsen Feltzing [Thu, 18 Apr 2013 08:55:41 +0000 (10:55 +0200)]
Add tests/http_pipe.py to the tarball build

11 years agosmtp: Re-factored all perform based functions
Steve Holme [Tue, 16 Apr 2013 18:47:15 +0000 (19:47 +0100)]
smtp: Re-factored all perform based functions

Standardised the naming of all perform based functions to be in the form
smtp_perform_something().

11 years agosmtp: Added description comments to all perform based functions
Steve Holme [Tue, 16 Apr 2013 18:40:54 +0000 (19:40 +0100)]
smtp: Added description comments to all perform based functions

11 years agosmtp: Moved smtp_quit() to be with the other perform functions
Steve Holme [Tue, 16 Apr 2013 18:35:09 +0000 (19:35 +0100)]
smtp: Moved smtp_quit() to be with the other perform functions

11 years agosmtp: Moved smtp_rcpt_to() to be with the other perform functions
Steve Holme [Tue, 16 Apr 2013 18:32:55 +0000 (19:32 +0100)]
smtp: Moved smtp_rcpt_to() to be with the other perform functions

11 years agosmtp: Moved smtp_mail() to be with the other perform functions
Steve Holme [Tue, 16 Apr 2013 18:30:43 +0000 (19:30 +0100)]
smtp: Moved smtp_mail() to be with the other perform functions

11 years agocurl-config: don't output static libs when they are disabled
Wouter Van Rooy [Tue, 16 Apr 2013 13:40:00 +0000 (15:40 +0200)]
curl-config: don't output static libs when they are disabled

Curl-config outputs static libraries even when they are disabled in
configure.

This causes problems with the build of pycurl.

11 years agodocs/libcurl: fix formatting in manpage
Dave Reisner [Tue, 16 Apr 2013 01:46:50 +0000 (03:46 +0200)]
docs/libcurl: fix formatting in manpage

Commit c3ea3eb6 introduced some minor cosmetic errors in
curl_mutli_socket_action(3).

11 years agoAdd extra libs for lib1900 and lib2033 test programs
Paul Howarth [Mon, 15 Apr 2013 09:14:30 +0000 (10:14 +0100)]
Add extra libs for lib1900 and lib2033 test programs

These are needed in cases where clock_gettime is used, from librt.

11 years agoFAQ: mention that the network connection can be monitored
Dan Fandrich [Mon, 15 Apr 2013 20:26:18 +0000 (22:26 +0200)]
FAQ: mention that the network connection can be monitored

Also note the prohibition on sharing handles across threads.

11 years agopop3: Added missing comment for pop3_state_apop_resp()
Steve Holme [Mon, 15 Apr 2013 19:16:28 +0000 (20:16 +0100)]
pop3: Added missing comment for pop3_state_apop_resp()

11 years agosmtp: Updated the coding style of smtp_state_servergreet_resp()
Steve Holme [Mon, 15 Apr 2013 19:11:25 +0000 (20:11 +0100)]
smtp: Updated the coding style of smtp_state_servergreet_resp()

Updated the coding style, in this function, to be consistant with other
response functions rather then performing a hard return on failure.

11 years agopop3: Updated the coding style of pop3_state_servergreet_resp()
Steve Holme [Mon, 15 Apr 2013 19:10:25 +0000 (20:10 +0100)]
pop3: Updated the coding style of pop3_state_servergreet_resp()

Updated the coding style, in this function, to be consistent with other
response functions rather then performing a hard return on failure.

11 years agopop3: Re-factored all perform based functions
Steve Holme [Sun, 14 Apr 2013 08:53:07 +0000 (09:53 +0100)]
pop3: Re-factored all perform based functions

Standardised the naming of all perform based functions to be in the form
pop3_perform_something() following the changes made to IMAP.

11 years agopop3: Added description comments to all perform based functions
Steve Holme [Sun, 14 Apr 2013 08:47:32 +0000 (09:47 +0100)]
pop3: Added description comments to all perform based functions

11 years agopop3: Moved pop3_quit() to be with the other perform functions
Steve Holme [Sun, 14 Apr 2013 08:37:19 +0000 (09:37 +0100)]
pop3: Moved pop3_quit() to be with the other perform functions

11 years agopop3: Moved pop3_command() to be with the other perform functions
Steve Holme [Sun, 14 Apr 2013 08:35:35 +0000 (09:35 +0100)]
pop3: Moved pop3_command() to be with the other perform functions

Started to apply the same tidy up to the POP3 code as applied to the
IMAP code in the 7.30.0 release.

11 years agoRELEASE-NOTES: Removed erroneous spaces
Steve Holme [Sat, 13 Apr 2013 17:35:16 +0000 (18:35 +0100)]
RELEASE-NOTES: Removed erroneous spaces

11 years agoRELEASE-NOTES: synced with 8723cade21fb
Steve Holme [Sat, 13 Apr 2013 15:43:30 +0000 (16:43 +0100)]
RELEASE-NOTES: synced with 8723cade21fb

11 years agosmtp: Added support for ;auth=<mech> in the URL
Steve Holme [Sat, 13 Apr 2013 15:21:58 +0000 (16:21 +0100)]
smtp: Added support for ;auth=<mech> in the URL

Added support for specifying the preferred authentication mechanism in
the URL as per Internet-Draft 'draft-earhart-url-smtp-00'.

11 years agopop3: Reworked authentication type constants
Steve Holme [Sat, 13 Apr 2013 15:14:01 +0000 (16:14 +0100)]
pop3: Reworked authentication type constants

... to use left-shifted values, like those defined in curl.h, rather
than 16-bit hexadecimal values.

11 years agopop3: Small consistency tidy up
Steve Holme [Sat, 13 Apr 2013 15:11:55 +0000 (16:11 +0100)]
pop3: Small consistency tidy up

11 years agopop3: Added support for ;auth=<mech> in the URL
Steve Holme [Sat, 13 Apr 2013 15:09:28 +0000 (16:09 +0100)]
pop3: Added support for ;auth=<mech> in the URL

Added support for specifying the preferred authentication type and SASL
mechanism in the URL as per RFC-2384.

11 years agoimap: Added support for ;auth=<mech> in the URL
Steve Holme [Sat, 13 Apr 2013 14:58:15 +0000 (15:58 +0100)]
imap: Added support for ;auth=<mech> in the URL

Added support for specifying the preferred authentication mechanism in
the URL as per RFC-5092.

11 years agosasl: Reworked SASL mechanism constants
Steve Holme [Sat, 13 Apr 2013 12:29:50 +0000 (13:29 +0100)]
sasl: Reworked SASL mechanism constants

... to use left-shifted values, like those defined in curl.h, rather
than 16-bit hexadecimal values.

11 years agosasl: Added predefined preferred mechanism values
Steve Holme [Sat, 13 Apr 2013 12:11:37 +0000 (13:11 +0100)]
sasl: Added predefined preferred mechanism values

In preparation for the upcoming changes to IMAP, POP3 and SMTP added
preferred mechanism values.

11 years agourl: Added support for parsing login options from the URL
Steve Holme [Sat, 13 Apr 2013 09:49:42 +0000 (10:49 +0100)]
url: Added support for parsing login options from the URL

As well as parsing the username and password from the URL, added support
for parsing the optional options part from the login details, to allow
the following supported URL format:

schema://username:password;options@example.com/path?q=foobar

This will only be used by IMAP, POP3 and SMTP at present but any
protocol that may be given login options in the URL will be able to
add support for them.

11 years agosmtp: Fix compiler warning
Steve Holme [Fri, 12 Apr 2013 23:06:19 +0000 (00:06 +0100)]
smtp: Fix compiler warning

warning: unused variable 'smtp' introduced in commit 73cbd21b5ee6.

11 years agosmtp: Moved parsing of url path into separate function
Steve Holme [Fri, 12 Apr 2013 22:15:51 +0000 (23:15 +0100)]
smtp: Moved parsing of url path into separate function

11 years agoFTP: handle a 230 welcome response
Daniel Stenberg [Mon, 18 Feb 2013 22:40:29 +0000 (23:40 +0100)]
FTP: handle a 230 welcome response

...instead of the 220 we otherwise expect.

Made the ftpserver.pl support sending a custom "welcome" and then
created test 1219 to verify this fix with such a 230 welcome.

Bug: http://curl.haxx.se/mail/lib-2013-02/0102.html
Reported by: Anders Havn

11 years agoconfigure: try pthread_create without -lpthread
Daniel Stenberg [Thu, 11 Apr 2013 14:21:49 +0000 (16:21 +0200)]
configure: try pthread_create without -lpthread

For libc variants without a spearate pthread lib (like bionic), try
using pthreads without the pthreads lib first and only if that fails try
the -lpthread linker flag.

Bug: http://curl.haxx.se/bug/view.cgi?id=1216
Reported by: Duncan

11 years agoFTP: access files in root dir correctly
Daniel Stenberg [Fri, 12 Apr 2013 13:29:28 +0000 (15:29 +0200)]
FTP: access files in root dir correctly

Accessing a file with an absolute path in the root dir but with no
directory specified was not handled correctly. This fix comes with four
new test cases that verify it.

Bug: http://curl.haxx.se/mail/lib-2013-04/0142.html
Reported by: Sam Deane

11 years agopop3: Reworked the function description for Curl_pop3_write()
Steve Holme [Fri, 12 Apr 2013 19:20:27 +0000 (20:20 +0100)]
pop3: Reworked the function description for Curl_pop3_write()

11 years agopop3: Added function description to pop3_parse_custom_request()
Steve Holme [Fri, 12 Apr 2013 19:18:37 +0000 (20:18 +0100)]
pop3: Added function description to pop3_parse_custom_request()

11 years agopop3: Moved utility functions to end of pop3.c
Steve Holme [Fri, 12 Apr 2013 19:16:57 +0000 (20:16 +0100)]
pop3: Moved utility functions to end of pop3.c

11 years agodarwinssl: add TLS session resumption
Nick Zitzmann [Fri, 12 Apr 2013 18:20:10 +0000 (12:20 -0600)]
darwinssl: add TLS session resumption

This ought to speed up additional TLS handshakes, at least in theory.

11 years agoimap: Added function description to imap_parse_custom_request()
Steve Holme [Fri, 12 Apr 2013 17:20:20 +0000 (18:20 +0100)]
imap: Added function description to imap_parse_custom_request()

11 years agoimap: Moved utility functions to end of imap.c (Part 3/3)
Steve Holme [Fri, 12 Apr 2013 17:12:11 +0000 (18:12 +0100)]
imap: Moved utility functions to end of imap.c (Part 3/3)

Moved imap_is_bchar() be with the other utility based functions.

11 years agoimap: Moved utility functions to end of imap.c (Part 2/3)
Steve Holme [Fri, 12 Apr 2013 17:08:09 +0000 (18:08 +0100)]
imap: Moved utility functions to end of imap.c (Part 2/3)

Moved imap_parse_url_path() and imap_parse_custom_request() to the end of the
file allowing all utility functions to be grouped together.

11 years agoimap: Moved utility functions to end of imap.c (Part 1/3)
Steve Holme [Fri, 12 Apr 2013 17:05:53 +0000 (18:05 +0100)]
imap: Moved utility functions to end of imap.c (Part 1/3)

Moved imap_atom() and imap_sendf() to the end of the file allowing all
utility functions to be grouped together.

11 years agoimap: Corrected function description for imap_connect()
Steve Holme [Fri, 12 Apr 2013 17:01:03 +0000 (18:01 +0100)]
imap: Corrected function description for imap_connect()

11 years agotests: prevent test206, test1060, and test1061 from failing
Kamil Dudka [Fri, 12 Apr 2013 12:13:42 +0000 (14:13 +0200)]
tests: prevent test206, test1060, and test1061 from failing

... in case runtests.pl is invoked with non-default -b option

Fixes a regression caused by 1e29d275c643ef6aab7948f0f55a7a9397e56b42.

11 years agolibcurl-share.3: update what it does and does not share.
David Strauss [Thu, 11 Apr 2013 18:36:43 +0000 (20:36 +0200)]
libcurl-share.3: update what it does and does not share.

Update sharing interface documentation to provide exhaustive list of
what it does and does not share.

11 years agoTHANKS: remove duplicated names
Daniel Stenberg [Fri, 12 Apr 2013 10:37:47 +0000 (12:37 +0200)]
THANKS: remove duplicated names

11 years agobump: start working towards next release
Daniel Stenberg [Fri, 12 Apr 2013 09:30:32 +0000 (11:30 +0200)]
bump: start working towards next release

11 years agoTHANKS: added people from the 7.30.0 RELEASE-NOTES
Daniel Stenberg [Fri, 12 Apr 2013 09:30:12 +0000 (11:30 +0200)]
THANKS: added people from the 7.30.0 RELEASE-NOTES

11 years agoRELEASE-NOTES: cleaned up for 7.30 (synced with 5c5e1a1cd20)
Daniel Stenberg [Thu, 11 Apr 2013 22:05:39 +0000 (00:05 +0200)]
RELEASE-NOTES: cleaned up for 7.30 (synced with 5c5e1a1cd20)

Most notable the security advisory:
http://curl.haxx.se/docs/adv_20130412.html

11 years agotest1218: another cookie tailmatch test
Daniel Stenberg [Wed, 10 Apr 2013 11:40:36 +0000 (13:40 +0200)]
test1218: another cookie tailmatch test

... and make 1216 also verify it with a file input

These tests verify commit 3604fde3d3c9b0d, the fix for the "cookie
domain tailmatch" vulnerability. See
http://curl.haxx.se/docs/adv_20130412.html

11 years agocookie: fix tailmatching to prevent cross-domain leakage
YAMADA Yasuharu [Wed, 10 Apr 2013 22:17:15 +0000 (00:17 +0200)]
cookie: fix tailmatching to prevent cross-domain leakage

Cookies set for 'example.com' could accidentaly also be sent by libcurl
to the 'bexample.com' (ie with a prefix to the first domain name).

This is a security vulnerabilty, CVE-2013-1944.

Bug: http://curl.haxx.se/docs/adv_20130412.html

11 years agoEnabled MinGW sync resolver builds.
Guenter Knauf [Thu, 11 Apr 2013 12:05:08 +0000 (14:05 +0200)]
Enabled MinGW sync resolver builds.

11 years agoif2ip.c: fix compiler warning
Yang Tse [Wed, 10 Apr 2013 14:44:54 +0000 (16:44 +0200)]
if2ip.c: fix compiler warning

11 years agoFixed lost OpenSSL output with "-t" - followup.
Guenter Knauf [Tue, 9 Apr 2013 22:20:37 +0000 (00:20 +0200)]
Fixed lost OpenSSL output with "-t" - followup.

The previously applied patch didnt work on Windows; we cant rely
on shell commands like 'echo' since they act diffently on each
platform and each shell.
In order to keep this script platform-independent the code must
only use pure Perl.

11 years agotest1217: verify parsing 257 responses with "rubbish" before path
Daniel Stenberg [Tue, 9 Apr 2013 20:21:49 +0000 (22:21 +0200)]
test1217: verify parsing 257 responses with "rubbish" before path

Test 1217 verifies commit e0fb2d86c9f78, and without that change this
test fails.