Steve Holme
686586b0f9
smtp: Moved smtp_quit() to be with the other perform functions
2013-04-16 19:44:52 +01:00
Steve Holme
e621a5f6ea
smtp: Moved smtp_rcpt_to() to be with the other perform functions
2013-04-16 19:44:49 +01:00
Steve Holme
8093f9541e
smtp: Moved smtp_mail() to be with the other perform functions
2013-04-16 19:44:47 +01:00
Wouter Van Rooy
68e7fb499d
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.
2013-04-16 16:07:41 +02:00
Dave Reisner
d9569720dd
docs/libcurl: fix formatting in manpage
...
Commit c3ea3eb6
introduced some minor cosmetic errors in
curl_mutli_socket_action(3).
2013-04-16 09:52:12 +02:00
Paul Howarth
1c40685d32
Add extra libs for lib1900 and lib2033 test programs
...
These are needed in cases where clock_gettime is used, from librt.
2013-04-15 23:06:10 +02:00
Dan Fandrich
31c6e7af6a
FAQ: mention that the network connection can be monitored
...
Also note the prohibition on sharing handles across threads.
2013-04-15 22:26:18 +02:00
Steve Holme
552ba67bb1
pop3: Added missing comment for pop3_state_apop_resp()
2013-04-15 20:27:49 +01:00
Steve Holme
651254dcc7
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.
2013-04-15 20:27:47 +01:00
Steve Holme
26bdafcbf9
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.
2013-04-15 20:27:45 +01:00
Steve Holme
02dc9e788f
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.
2013-04-14 10:06:10 +01:00
Steve Holme
e11c6e9961
pop3: Added description comments to all perform based functions
2013-04-14 10:06:08 +01:00
Steve Holme
e4eaa92728
pop3: Moved pop3_quit() to be with the other perform functions
2013-04-14 10:06:07 +01:00
Steve Holme
577f8e5ac6
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.
2013-04-14 10:06:05 +01:00
Steve Holme
95ba6cdd54
RELEASE-NOTES: Removed erroneous spaces
2013-04-13 18:35:16 +01:00
Steve Holme
7ce6cb9ab4
RELEASE-NOTES: synced with 8723cade21
2013-04-13 16:43:30 +01:00
Steve Holme
8723cade21
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'.
2013-04-13 16:23:00 +01:00
Steve Holme
d956d9db47
pop3: Reworked authentication type constants
...
... to use left-shifted values, like those defined in curl.h, rather
than 16-bit hexadecimal values.
2013-04-13 16:20:48 +01:00
Steve Holme
ecf93ac986
pop3: Small consistency tidy up
2013-04-13 16:16:23 +01:00
Steve Holme
b3a01be2f3
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.
2013-04-13 16:16:21 +01:00
Steve Holme
00045a3009
imap: Added support for ;auth=<mech> in the URL
...
Added support for specifying the preferred authentication mechanism in
the URL as per RFC-5092.
2013-04-13 16:11:27 +01:00
Steve Holme
3f7188dd94
sasl: Reworked SASL mechanism constants
...
... to use left-shifted values, like those defined in curl.h, rather
than 16-bit hexadecimal values.
2013-04-13 13:29:50 +01:00
Steve Holme
720218fea1
sasl: Added predefined preferred mechanism values
...
In preparation for the upcoming changes to IMAP, POP3 and SMTP added
preferred mechanism values.
2013-04-13 13:11:37 +01:00
Steve Holme
73aa95592f
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.
2013-04-13 10:49:42 +01:00
Steve Holme
ad3fdbc0a4
smtp: Fix compiler warning
...
warning: unused variable 'smtp' introduced in commit 73cbd21b5e
.
2013-04-13 00:06:19 +01:00
Steve Holme
73cbd21b5e
smtp: Moved parsing of url path into separate function
2013-04-12 23:15:51 +01:00
Daniel Stenberg
c5ba0c2f54
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
2013-04-12 23:59:37 +02:00
Daniel Stenberg
edddf394b8
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
2013-04-12 22:58:28 +02:00
Daniel Stenberg
61d259f950
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
2013-04-12 22:43:13 +02:00
Steve Holme
c01735865f
pop3: Reworked the function description for Curl_pop3_write()
2013-04-12 20:22:14 +01:00
Steve Holme
ca46c5dbe2
pop3: Added function description to pop3_parse_custom_request()
2013-04-12 20:22:12 +01:00
Steve Holme
2da127abb5
pop3: Moved utility functions to end of pop3.c
2013-04-12 20:22:10 +01:00
Nick Zitzmann
bc33f2200d
darwinssl: add TLS session resumption
...
This ought to speed up additional TLS handshakes, at least in theory.
2013-04-12 12:20:10 -06:00
Steve Holme
fd399cde00
imap: Added function description to imap_parse_custom_request()
2013-04-12 18:27:51 +01:00
Steve Holme
00c74019f4
imap: Moved utility functions to end of imap.c (Part 3/3)
...
Moved imap_is_bchar() be with the other utility based functions.
2013-04-12 18:24:46 +01:00
Steve Holme
9d0063befa
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.
2013-04-12 18:24:44 +01:00
Steve Holme
01e55ebb26
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.
2013-04-12 18:24:43 +01:00
Steve Holme
4bbad1dac7
imap: Corrected function description for imap_connect()
2013-04-12 18:14:43 +01:00
Kamil Dudka
ddbda328b3
tests: prevent test206, test1060, and test1061 from failing
...
... in case runtests.pl is invoked with non-default -b option
Fixes a regression caused by 1e29d275c6
.
2013-04-12 14:25:58 +02:00
David Strauss
8ffbeeda80
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.
2013-04-12 13:35:29 +02:00
Daniel Stenberg
1d1ffaf912
THANKS: remove duplicated names
2013-04-12 12:37:47 +02:00
Daniel Stenberg
e0cff02061
bump: start working towards next release
2013-04-12 11:30:32 +02:00
Daniel Stenberg
7fe95bb0d5
THANKS: added people from the 7.30.0 RELEASE-NOTES
2013-04-12 11:30:12 +02:00
Daniel Stenberg
80d241046e
RELEASE-NOTES: cleaned up for 7.30 (synced with 5c5e1a1cd2
)
...
Most notable the security advisory:
http://curl.haxx.se/docs/adv_20130412.html
2013-04-12 00:05:39 +02:00
Daniel Stenberg
5c5e1a1cd2
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
2013-04-11 23:52:12 +02:00
YAMADA Yasuharu
2eb8dcf26c
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
2013-04-11 23:52:12 +02:00
Guenter Knauf
96ffe645fd
Enabled MinGW sync resolver builds.
2013-04-11 14:05:08 +02:00
Yang Tse
c86ea58304
if2ip.c: fix compiler warning
2013-04-10 16:44:54 +02:00
Guenter Knauf
577703495e
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.
2013-04-10 00:20:37 +02:00
Daniel Stenberg
f8da49eec0
test1217: verify parsing 257 responses with "rubbish" before path
...
Test 1217 verifies commit e0fb2d86c9
, and without that change this
test fails.
2013-04-09 22:21:49 +02:00