Daniel Stenberg
20f61cd12c
curl.1: documented --proxy-header
2014-04-04 17:03:43 +02:00
Maciej Puzio
4946ea05e2
curl: add --proxy-header
2014-04-04 17:03:43 +02:00
Daniel Stenberg
fa0a5e6812
symbols-in-versions: Added CURLHEADER_*
...
... and sorted the list
2014-04-04 17:03:43 +02:00
Daniel Stenberg
ef6be35bae
CURLOPT_HEADEROPT: added
...
Modified the logic so that CURLOPT_HEADEROPT now controls if PROXYHEADER
is actually used or not.
2014-04-04 17:03:43 +02:00
Daniel Stenberg
ac887eedbc
CURLOPT_PROXYHEADER: set headers for proxy-only
...
Includes docs and new test cases: 1525, 1526 and 1527
Co-written-by: Vijay Panghal
2014-04-04 17:03:43 +02:00
Daniel Stenberg
42937f87e6
HTTP: don't send Content-Length: 0 _and_ Expect: 100-continue
...
Without request body there's no point in asking for 100-continue.
Bug: http://curl.haxx.se/bug/view.cgi?id=1349
Reported-by: JimS
2014-04-04 15:46:35 +02:00
Daniel Stenberg
c81021f747
ftp: in passive data connect wait for happy eyeballs sockets
...
When doing passive FTP, the multi state function needs to extract and
use the happy eyeballs sockets to wait for to check for completion!
Bug: http://curl.haxx.se/mail/lib-2014-02/0135.html (ruined)
Reported-by: Alan
2014-04-03 20:38:19 +02:00
Daniel Stenberg
97f214d0c9
http2+openssl: fix compiler warnings in ALPN using code
2014-04-03 17:03:02 +02:00
Dan Fandrich
c57166b575
tests: unified use of some keywords
2014-04-03 11:49:49 +02:00
Dan Fandrich
ff35e74bcd
tests: added some missing closing tags
2014-04-03 11:49:48 +02:00
Daniel Stenberg
d73d633885
runtests: insist on a <keywords> section
...
Since all present tests now have <keywords> listed, this script will now
refuse to run a given test case if no such section is provided.
Hopefully this will help us make sure new test cases get keywords added
at start.
2014-04-03 11:33:41 +02:00
Daniel Stenberg
1432b22e62
tests: add keywords to the last 7 tests lacking them
2014-04-03 11:06:24 +02:00
Steve Holme
dd9ce1b86c
smtp: Fixed login denied with a RFC-821 based server
...
In addition to commit fe260b75e7
fixed the same issue for RFC-821 based
SMTP servers and allow the credientials to be given to curl even though
they are not used with the server.
2014-04-01 07:20:19 +01:00
Steve Holme
b201d9adb8
tests: Added SMTP with credientials test when not supported by server
2014-04-01 07:19:29 +01:00
Daniel Stenberg
8a0385c1ad
urldata: spellfix comment
...
Reported-by: Melissa
2014-04-01 08:00:34 +02:00
Steve Holme
c524ca35f5
RELEASE-NOTES: Synced with dd07e79023
2014-03-31 21:23:14 +01:00
Steve Holme
dd07e79023
tests: Added SMTP with credentials test for RFC-821 based server
...
Added SMTP (RFC-821 only) based test case as a reference for the fix
provided by commit fe260b75e7
.
2014-03-31 20:55:58 +01:00
Daniel Stenberg
13682d1a24
ipv6: strip off zone identifiers in redirects too
...
Follow up to 9317eced98
makes test 1056 work again.
2014-03-31 09:35:32 +02:00
Dan Fandrich
ed4972ffdb
docs: Removed mention of -g hack when using IPv6 literals
...
This limitation was removed in commit 0bc4938e
2014-03-31 09:06:09 +02:00
Daniel Stenberg
6448946ac3
http2: let openssl mention the exact protocol negotiated
...
Remove a superfluous "negotiated http2" info line
2014-03-31 09:00:58 +02:00
Daniel Stenberg
ef813c7097
http2: remove _DRAFT09 from the NPN_HTTP2 enum
...
We're progressing throught drafts so there's no point in having a fixed
one in a symbol that'll survive.
2014-03-31 08:40:24 +02:00
Till Maas
9317eced98
URL parser: IPv6 zone identifiers are now supported
2014-03-31 07:58:25 +02:00
Paul Marks
0bc4938eec
curl: stop interpreting IPv6 literals as glob patterns.
...
This makes it possible to fetch from an IPv6 literal without specifying
the -g option. Globbing remains available elsehwere in the URL.
For example:
curl http://[::1]/file[1-3].txt
This creates no ambiguity, because there is no overlap between the
syntax of valid globs and valid IPv6 literals. Globs contain hyphens
and at most 1 colon, while IPv6 literals have no hyphens, and at least 2
colons.
The peek_ipv6() parser simply whitelists a set of characters and counts
colons, because the real validation happens later on. The character set
includes A-Z, in case someone decides to implement support for scopes
like [fe80::1%25eth0] in the future.
Signed-off-by: Paul Marks <pmarks@google.com>
2014-03-30 23:45:29 +02:00
Steve Holme
4043d7b67b
test938: Updated to use file input for upload
...
As the second URL won't be passed input from stdin.
2014-03-30 22:40:34 +01:00
Steve Holme
7dd494c6e7
test836: Fixed incorrect username in expected output
2014-03-30 22:40:21 +01:00
Daniel Stenberg
fbb6e0478b
DISABLED: 836, 882 and 938 hang
2014-03-30 23:36:57 +02:00
Daniel Stenberg
c1f7da1570
runtests: check protocol before data
...
When the protocol part fails, the data usually does too but the protocol
part is often more fundamental and often provide the clues you need to
fix the test case.
2014-03-30 23:16:21 +02:00
Steve Holme
acefed139f
ftpserver.pl: Extended the full text reply regular expression
...
Extended the regex to include other valid characters such as those used
in the reply text of Test 836.
2014-03-30 22:00:04 +01:00
Daniel Stenberg
8fdb87d0df
keywords: sort case insensitive
2014-03-30 17:09:11 +02:00
Daniel Stenberg
c38b573ff5
tests: remove trailing CRs from keywords
2014-03-30 17:05:22 +02:00
Daniel Stenberg
c09f6c72e9
keywords: sort keywords alphabetically
2014-03-30 17:04:56 +02:00
Daniel Stenberg
7dbed6a2f5
keywords: don't use STDERR for good info
2014-03-30 17:00:32 +02:00
Steve Holme
afbcfc4f46
tests: Added email unit tests to verify login credential connection re-use
2014-03-30 15:13:31 +01:00
Steve Holme
b3e55bf989
tests: Corrected "APOP" authentication keyword
2014-03-30 12:00:33 +01:00
Steve Holme
6876b35ad6
tests: Replaced email authentication keywords with SASL based keywords
...
As the email protocols implement SASL authentication rather than IMAP,
POP3 and SMTP specific authentication, updated the authentication
keywords to reflect this.
2014-03-30 11:56:42 +01:00
Steve Holme
82bcc7c615
tests: Added "Clear Text" authentication keyword
2014-03-30 11:34:23 +01:00
Steve Holme
dfa481a7c5
tests: Added "SASL" authentication keyword
2014-03-30 11:31:38 +01:00
Steve Holme
0c4589f0c0
imap-append.c: Fixed compilation errors on some platforms
...
In the initializer for len, there is no prototype for "strlen".
In this statement, there is no prototype for "memcpy".
2014-03-30 10:56:51 +01:00
Steve Holme
54ef196db8
ftpserver.pl: Removed some unused variables
2014-03-30 10:37:45 +01:00
Steve Holme
5b773658a8
ftpserver.pl: Reworked some variable names to be more meaningful
2014-03-30 00:12:38 +00:00
Steve Holme
f559611aa1
ftpserver.pl: Corrected some indentation in senddata()
2014-03-29 23:17:16 +00:00
Daniel Stenberg
713402982f
lib1513: fix callback proto to silence warning
2014-03-29 23:14:42 +01:00
Steve Holme
2baf38f7c3
ftpserver.pl: Added fallback to <data> support when using multiple URLs
...
Added support for falling back to <data> when <data1>, <data2>, etc...
don't exist in the <reply> section of a unit test.
2014-03-29 20:50:27 +00:00
Steve Holme
8293691b88
ftpserver.pl: Updated email based get reply data code to use new method
2014-03-29 17:30:19 +00:00
Steve Holme
fdb13d885a
ftpserver.pl: Fixed syntax error from commit 3a29ee41
2014-03-29 12:32:03 +00:00
Steve Holme
8541f2d39d
ftpserver.pl: Updated argument code in STATUS_imap() to be more meaningful
2014-03-29 11:15:19 +00:00
Steve Holme
3a29ee41ef
ftpserver.pl: Introduced common method for getting a test's reply data
2014-03-29 10:29:17 +00:00
Steve Holme
fe260b75e7
smtp: Fixed login denied when server doesn't support AUTH capability
...
Specifying user credentials when the SMTP server doesn't support
authentication would cause curl to display "No known authentication
mechanisms supported!" and return CURLE_LOGIN_DENIED.
Reported-by: Tom Sparrow
Bug: http://curl.haxx.se/mail/lib-2014-03/0173.html
2014-03-28 18:21:27 +00:00
Cody Mack
2dc63c72dc
winbuild: added warnless.c to fix build
2014-03-28 15:12:12 +01:00
Dan Fandrich
a8c7cf6281
hostcheck: added a system include to define struct in_addr
2014-03-26 22:29:00 +01:00