]> granicus.if.org Git - curl/log
curl
9 years agohttp2: fix build when NOT h2-enabled
Daniel Stenberg [Mon, 18 May 2015 12:09:32 +0000 (14:09 +0200)]
http2: fix build when NOT h2-enabled

9 years agohttp2: switch to use Curl_hash_destroy()
Daniel Stenberg [Mon, 18 May 2015 09:41:16 +0000 (11:41 +0200)]
http2: switch to use Curl_hash_destroy()

as after 4883f7019d3, the *_clean() function only flushes the hash.

9 years agocurlver: restore LIBCURL_VERSION_NUM defined as a full number
Daniel Stenberg [Mon, 18 May 2015 09:28:44 +0000 (11:28 +0200)]
curlver: restore LIBCURL_VERSION_NUM defined as a full number

As it breaks configure, curl-config and test 1023 if not.

9 years agohostip: fix unintended destruction of hash table
Anthony Avina [Sat, 2 May 2015 18:49:55 +0000 (13:49 -0500)]
hostip: fix unintended destruction of hash table

.. and added unit1602 for hash.c

9 years agocurlver: introducing new version number (checking) macros
Daniel Stenberg [Thu, 14 May 2015 21:33:27 +0000 (23:33 +0200)]
curlver: introducing new version number (checking) macros

9 years agoruntests.pl: use 'h2c' now, no -14 anymore
Daniel Stenberg [Mon, 18 May 2015 08:10:55 +0000 (10:10 +0200)]
runtests.pl: use 'h2c' now, no -14 anymore

9 years agohttp2: Ignore if we have stream ID not in hash in on_stream_close
Tatsuhiro Tsujikawa [Sat, 16 May 2015 09:13:10 +0000 (18:13 +0900)]
http2: Ignore if we have stream ID not in hash in on_stream_close

We could get stream ID not in the hash in on_stream_close.  For
example, if we decided to reject stream (e.g., PUSH_PROMISE), then we
don't create stream and store it in hash with its stream ID.

9 years agoRequire nghttp2 v1.0.0
Tatsuhiro Tsujikawa [Sat, 16 May 2015 09:03:47 +0000 (18:03 +0900)]
Require nghttp2 v1.0.0

This commit requires nghttp2 v1.0.0 to compile, and migrate to v1.0.0,
and utilize recent version of nghttp2 to simplify the code,

First we use nghttp2_option_set_no_recv_client_magic function to
detect nghttp2 v1.0.0.  That function only exists since v1.0.0.

Since nghttp2 v0.7.5, nghttp2 ensures header field ordering, and
validates received header field.  If it found error, RST_STREAM with
PROTOCOL_ERROR is issued.  Since we require v1.0.0, we can utilize
this feature to simplify libcurl code.  This commit does this.

Migration from 0.7 series are done based on nghttp2 migration
document.  For libcurl, we removed the code sending first 24 bytes
client magic.  It is now done by nghttp2 library.
on_invalid_frame_recv callback signature changed, and is updated
accordingly.

9 years agohttp2: infof length in on_frame_send()
Daniel Stenberg [Thu, 14 May 2015 12:02:21 +0000 (14:02 +0200)]
http2: infof length in on_frame_send()

9 years agopipeline: switch some code over to functions
Daniel Stenberg [Wed, 13 May 2015 12:24:30 +0000 (14:24 +0200)]
pipeline: switch some code over to functions

... to "compartmentalize" a bit and make it easier to change behavior
when multiplexing is used instead of good old pipelining.

9 years agosymbols-in-versions: add CURLOPT_PIPEWAIT
Daniel Stenberg [Tue, 12 May 2015 13:06:18 +0000 (15:06 +0200)]
symbols-in-versions: add CURLOPT_PIPEWAIT

9 years agoCURLOPT_PIPEWAIT: added
Daniel Stenberg [Tue, 12 May 2015 12:18:46 +0000 (14:18 +0200)]
CURLOPT_PIPEWAIT: added

By setting this option to 1 libcurl will wait for a connection to reveal
if it is possible to pipeline/multiplex on before it continues.

9 years agoCurl_http_readwrite_headers: minor code simplification
Daniel Stenberg [Tue, 12 May 2015 09:47:33 +0000 (11:47 +0200)]
Curl_http_readwrite_headers: minor code simplification

9 years agoIsPipeliningPossible: fixed for http2
Daniel Stenberg [Tue, 12 May 2015 09:46:58 +0000 (11:46 +0200)]
IsPipeliningPossible: fixed for http2

9 years agohttp2: bump the h2 buffer size to 32K for speed
Daniel Stenberg [Mon, 11 May 2015 21:18:21 +0000 (23:18 +0200)]
http2: bump the h2 buffer size to 32K for speed

9 years agohttp2: remove the stream from the hash in stream_close callback
Daniel Stenberg [Mon, 11 May 2015 21:17:36 +0000 (23:17 +0200)]
http2: remove the stream from the hash in stream_close callback

... and suddenly things work much better!

9 years agohttp2: if there is paused data, do not clear the drain field
Daniel Stenberg [Mon, 11 May 2015 13:54:50 +0000 (15:54 +0200)]
http2: if there is paused data, do not clear the drain field

9 years agohttp2: rename s/data/pausedata
Daniel Stenberg [Mon, 11 May 2015 13:10:21 +0000 (15:10 +0200)]
http2: rename s/data/pausedata

9 years agohttp2: "stream %x" in all outputs to make it easier to search for
Daniel Stenberg [Mon, 11 May 2015 12:30:36 +0000 (14:30 +0200)]
http2: "stream %x" in all outputs to make it easier to search for

9 years agohttp2: Curl_expire() all handles with incoming traffic
Daniel Stenberg [Mon, 11 May 2015 12:18:53 +0000 (14:18 +0200)]
http2: Curl_expire() all handles with incoming traffic

... so that they'll get handled next in the multi loop.

9 years agohttp2: don't signal settings change for same values
Daniel Stenberg [Mon, 11 May 2015 10:05:14 +0000 (12:05 +0200)]
http2: don't signal settings change for same values

9 years agohttp2: set default concurrency, fix ConnectionExists for multiplex
Daniel Stenberg [Mon, 11 May 2015 09:41:10 +0000 (11:41 +0200)]
http2: set default concurrency, fix ConnectionExists for multiplex

9 years agobundles: store no/default/pipeline/multiplex
Daniel Stenberg [Mon, 18 May 2015 06:56:29 +0000 (08:56 +0200)]
bundles: store no/default/pipeline/multiplex

to allow code to act differently on the situation.

Also added some more info message for the connection re-use function to
make it clearer when connections are not re-used.

9 years agohttp2: lazy init header_recvbuf
Daniel Stenberg [Fri, 8 May 2015 13:53:18 +0000 (15:53 +0200)]
http2: lazy init header_recvbuf

It makes us use less memory when not doing HTTP/2 and subsequently also
makes us not have to cleanup HTTP/2 related data when not using HTTP/2!

9 years agohttp2: separate multiplex/pipelining + cleanup memory leaks
Daniel Stenberg [Fri, 8 May 2015 12:42:59 +0000 (14:42 +0200)]
http2: separate multiplex/pipelining + cleanup memory leaks

9 years agoCURLMOPT_PIPELINE: bit 1 is for multiplexing
Daniel Stenberg [Fri, 8 May 2015 08:43:36 +0000 (10:43 +0200)]
CURLMOPT_PIPELINE: bit 1 is for multiplexing

9 years agohttp2: Fix bug that data to be drained are overwritten by pending "paused" data
Tatsuhiro Tsujikawa [Thu, 7 May 2015 14:19:08 +0000 (23:19 +0900)]
http2: Fix bug that data to be drained are overwritten by pending "paused" data

9 years agohttp2: Don't call nghttp2_session_mem_recv while it is paused by a stream
Tatsuhiro Tsujikawa [Thu, 7 May 2015 15:52:48 +0000 (17:52 +0200)]
http2: Don't call nghttp2_session_mem_recv while it is paused by a stream

9 years agohttp2: Read data left in connection buffer after pause
Tatsuhiro Tsujikawa [Thu, 7 May 2015 08:22:57 +0000 (17:22 +0900)]
http2: Read data left in connection buffer after pause

Previously when we do pause because of out of buffer, we just throw
away unread data in connection buffer.  This just broke protocol
framing, and I saw occasional FRAME_SIZE_ERROR.  This commit fix this
issue by remembering how much data read, and in the next iteration, we
process remaining data.

9 years agohttp2: Fix streams get stuck
Tatsuhiro Tsujikawa [Thu, 7 May 2015 05:51:32 +0000 (14:51 +0900)]
http2: Fix streams get stuck

This commit fixes the bug that streams get stuck if stream gets some
DATA, and stream->closed becomes true at the same time.  Previously,
in this condition, after we processed DATA, we are going to try to
read data from underlying transport, but there is no data, and gets
EAGAIN.  There was no code path to evaludate stream->closed.

9 years agohttp2: store incoming h2 SETTINGS
Daniel Stenberg [Thu, 7 May 2015 14:44:00 +0000 (16:44 +0200)]
http2: store incoming h2 SETTINGS

9 years agopipeline: move function to pipeline.c and make static
Daniel Stenberg [Thu, 7 May 2015 07:00:20 +0000 (09:00 +0200)]
pipeline: move function to pipeline.c and make static

... as it was only used from there.

9 years agoIsPipeliningPossible: http2 can always "pipeline" (multiplex)
Daniel Stenberg [Thu, 7 May 2015 06:59:28 +0000 (08:59 +0200)]
IsPipeliningPossible: http2 can always "pipeline" (multiplex)

9 years agohttp2: remove debug logging from on_frame_recv
Daniel Stenberg [Mon, 4 May 2015 12:03:29 +0000 (14:03 +0200)]
http2: remove debug logging from on_frame_recv

9 years agohttp2: remove the closed check in http2_recv
Daniel Stenberg [Mon, 4 May 2015 08:14:42 +0000 (10:14 +0200)]
http2: remove the closed check in http2_recv

With the "drained" functionality we can get here slightly asynchronously
so the stream have have been closed but there is pending data left to
read.

9 years agohttp2: bump the h2 buffer to 8K
Daniel Stenberg [Mon, 4 May 2015 08:14:27 +0000 (10:14 +0200)]
http2: bump the h2 buffer to 8K

9 years agohttp2: Curl_read should not use the single buffer
Daniel Stenberg [Mon, 4 May 2015 08:03:07 +0000 (10:03 +0200)]
http2: Curl_read should not use the single buffer

... as it does for pipelining when we're multiplexing, as we need the
different buffers to store incoming data correctly for all streams.

9 years agohttp2: more debug outputs
Daniel Stenberg [Thu, 30 Apr 2015 16:34:41 +0000 (18:34 +0200)]
http2: more debug outputs

9 years agohttp2: leave WAITPERFORM when conn is multiplexed
Daniel Stenberg [Thu, 30 Apr 2015 13:25:06 +0000 (15:25 +0200)]
http2: leave WAITPERFORM when conn is multiplexed

No need to wait for our "spot" like for pipelining

9 years agohttp2: force "drainage" of streams
Daniel Stenberg [Thu, 30 Apr 2015 06:20:49 +0000 (08:20 +0200)]
http2: force "drainage" of streams

... which is necessary since the socket won't be readable but there is
data waiting in the buffer.

9 years agohttp2: move the mem+len pair to the stream struct
Daniel Stenberg [Wed, 29 Apr 2015 15:00:53 +0000 (17:00 +0200)]
http2: move the mem+len pair to the stream struct

9 years agohttp2: more stream-oriented data, stream ID 0 is for connections
Daniel Stenberg [Wed, 29 Apr 2015 13:21:45 +0000 (15:21 +0200)]
http2: more stream-oriented data, stream ID 0 is for connections

9 years agohttp2: move lots of state data to the 'stream' struct
Daniel Stenberg [Wed, 29 Apr 2015 12:19:39 +0000 (14:19 +0200)]
http2: move lots of state data to the 'stream' struct

... from the connection struct. The stream one being the 'struct HTTP'
which is kept in the SessionHandle struct (easy handle).

lookup streams for incoming frames in the stream hash, hashing is based
on the stream id and we get the SessionHandle for the incoming stream
that way.

9 years agoHTTP: partial start at fixing up hash-lookups on http2 frame receival
Daniel Stenberg [Tue, 28 Apr 2015 18:39:47 +0000 (20:39 +0200)]
HTTP: partial start at fixing up hash-lookups on http2 frame receival

9 years agohttp: a stream hash for h2 multiplexing
Daniel Stenberg [Tue, 28 Apr 2015 11:10:04 +0000 (13:10 +0200)]
http: a stream hash for h2 multiplexing

9 years agohttp: a stream hash for h2 multiplexing
Daniel Stenberg [Tue, 28 Apr 2015 11:10:04 +0000 (13:10 +0200)]
http: a stream hash for h2 multiplexing

9 years agohttp2: debug log when receiving unexpected stream_id
Daniel Stenberg [Mon, 27 Apr 2015 12:46:20 +0000 (14:46 +0200)]
http2: debug log when receiving unexpected stream_id

9 years agohttp2: move stream_id to the HTTP struct (per-stream)
Daniel Stenberg [Mon, 27 Apr 2015 11:54:47 +0000 (13:54 +0200)]
http2: move stream_id to the HTTP struct (per-stream)

9 years agoCurl_http2_setup: only do it once and enable multiplex on the server
Daniel Stenberg [Mon, 27 Apr 2015 10:52:07 +0000 (12:52 +0200)]
Curl_http2_setup: only do it once and enable multiplex on the server

Once we know we are HTTP/2 enabled we know the server can multiplex.

9 years agohttp: switch on "pipelining" (multiplexing) for HTTP/2 servers
Daniel Stenberg [Mon, 27 Apr 2015 10:51:29 +0000 (12:51 +0200)]
http: switch on "pipelining" (multiplexing) for HTTP/2 servers

... and do not blacklist any.

9 years agoREADME.pipelining: removed
Daniel Stenberg [Fri, 15 May 2015 20:32:15 +0000 (22:32 +0200)]
README.pipelining: removed

All the details mentioned here are better documented in man pages

9 years agobuild: removed bundles.c from make files
Dan Fandrich [Thu, 14 May 2015 12:55:48 +0000 (14:55 +0200)]
build: removed bundles.c from make files

This file was removed in commit fd137786

9 years agoCurl_conncache_add_conn: fix memory leak on OOM
Daniel Stenberg [Thu, 14 May 2015 12:06:44 +0000 (14:06 +0200)]
Curl_conncache_add_conn: fix memory leak on OOM

9 years agoCURLMOPT_MAX_HOST_CONNECTIONS: host = host name + port number
Daniel Stenberg [Tue, 12 May 2015 21:47:01 +0000 (23:47 +0200)]
CURLMOPT_MAX_HOST_CONNECTIONS: host = host name + port number

9 years agoconncache: keep bundles on host+port bases, not only host names
Daniel Stenberg [Tue, 12 May 2015 21:40:10 +0000 (23:40 +0200)]
conncache: keep bundles on host+port bases, not only host names

Previously we counted all connections to a specific host name and that
would be used for the CURLMOPT_MAX_HOST_CONNECTIONS check for example,
while servers on different port numbers are normally considered
different "origins" on the web and should thus be considered different
hosts.

9 years agobundles: merged into conncache.c
Daniel Stenberg [Tue, 12 May 2015 21:06:11 +0000 (23:06 +0200)]
bundles: merged into conncache.c

All the existing Curl_bundle* functions were only ever used from within
the conncache.c file, so I moved them over and made them static (and
removed the Curl_ prefix).

9 years agohostcache: made all host caches use structs, not pointers
Daniel Stenberg [Tue, 12 May 2015 07:46:53 +0000 (09:46 +0200)]
hostcache: made all host caches use structs, not pointers

This avoids unnecessary dynamic allocs and as this also removed the last
users of *hash_alloc() and *hash_destroy(), those two functions are now
removed.

9 years agomulti: converted socket hash into non-allocated struct
Daniel Stenberg [Tue, 12 May 2015 07:28:37 +0000 (09:28 +0200)]
multi: converted socket hash into non-allocated struct

avoids extra dynamic allocation

9 years agoconnection cache: avoid Curl_hash_alloc()
Daniel Stenberg [Tue, 12 May 2015 07:15:02 +0000 (09:15 +0200)]
connection cache: avoid Curl_hash_alloc()

... by using plain structs instead of pointers for the connection cache,
we can avoid several dynamic allocations that weren't necessary.

9 years agoproxy: add newline to info message
Daniel Stenberg [Fri, 8 May 2015 11:00:18 +0000 (13:00 +0200)]
proxy: add newline to info message

9 years agoFTP: fix dangling conn->ip_addr dereference on verbose EPSV.
Patrick Monnerat [Fri, 8 May 2015 13:26:59 +0000 (15:26 +0200)]
FTP: fix dangling conn->ip_addr dereference on verbose EPSV.

9 years agoFTP: Make EPSV use the control IP address rather than the original host.
Patrick Monnerat [Fri, 8 May 2015 11:55:15 +0000 (13:55 +0200)]
FTP: Make EPSV use the control IP address rather than the original host.
This ensures an alternate address is not used.
Does not apply to proxy tunnel.

9 years agotool_help: fix formatting for --next option
Alessandro Ghedini [Thu, 7 May 2015 13:34:30 +0000 (15:34 +0200)]
tool_help: fix formatting for --next option

9 years agoopts: improved the TCP keepalive examples
Egon Eckert [Fri, 8 May 2015 06:26:37 +0000 (08:26 +0200)]
opts: improved the TCP keepalive examples

9 years agowinbuild: Document the option used to statically link the CRT
Jay Satiro [Fri, 8 May 2015 05:09:57 +0000 (01:09 -0400)]
winbuild: Document the option used to statically link the CRT

- Document option RTLIBCFG (runtime library configuration).

Bug: https://github.com/bagder/curl/issues/254
Reported-by: Bert Huijben
9 years agonetrc: Read in text mode when cygwin
Orgad Shaneh [Wed, 6 May 2015 06:33:57 +0000 (02:33 -0400)]
netrc: Read in text mode when cygwin

Use text mode when cygwin to eliminate trailing carriage returns.

Bug: https://github.com/bagder/curl/pull/258

9 years agoOS400: Add SPNEGO service name options to ILE/RPG binding.
Patrick Monnerat [Tue, 5 May 2015 12:05:41 +0000 (14:05 +0200)]
OS400: Add SPNEGO service name options to ILE/RPG binding.

9 years agocurl_multi_info_read.3: fix typo
Daniel Stenberg [Mon, 4 May 2015 21:45:25 +0000 (23:45 +0200)]
curl_multi_info_read.3: fix typo

Reported-by: Liviu Chircu
9 years agoMANUAL: language fix
Daniel Stenberg [Mon, 4 May 2015 12:17:28 +0000 (14:17 +0200)]
MANUAL: language fix

Reported-by: Fred Stluka
Bug: https://github.com/bagder/curl/issues/255

9 years agogtls: properly retrieve certificate status
Alessandro Ghedini [Mon, 4 May 2015 08:41:25 +0000 (10:41 +0200)]
gtls: properly retrieve certificate status

Also print the revocation reason if appropriate.

9 years agoOpenSSL: conditional check for SSL3_RT_HEADER
Daniel Stenberg [Mon, 4 May 2015 11:29:34 +0000 (13:29 +0200)]
OpenSSL: conditional check for SSL3_RT_HEADER

The symbol is fairly new.

Reported-by: Kamil Dudka
9 years agoopenssl: skip trace outputs for ssl_ver == 0
Daniel Stenberg [Mon, 4 May 2015 10:27:59 +0000 (12:27 +0200)]
openssl: skip trace outputs for ssl_ver == 0

The OpenSSL trace callback is wonderfully undocumented but given a
journey in the source code, it seems the cases were ssl_ver is zero
doesn't follow the same pattern and thus turned out confusing and
misleading. For now, we skip doing any CURLINFO_TEXT logging on those
but keep sending them as CURLINFO_SSL_DATA_OUT/IN.

Also, I added direction to the text info and I edited some functions
slightly.

Bug: https://github.com/bagder/curl/issues/219
Reported-by: Jay Satiro, Ashish Shukla
9 years agoschannel.c: Small changes
Marc Hoersken [Sat, 2 May 2015 20:21:25 +0000 (22:21 +0200)]
schannel.c: Small changes

9 years agoschannel.c: Improve code path and readability
Marc Hoersken [Sat, 2 May 2015 18:14:53 +0000 (20:14 +0200)]
schannel.c: Improve code path and readability

9 years agoschannel.c: Improve error and return code handling upon aa99a63f03
Marc Hoersken [Sat, 2 May 2015 18:05:22 +0000 (20:05 +0200)]
schannel.c: Improve error and return code handling upon aa99a63f03

9 years agoschannel: fix regression in schannel_recv
Chris Araman [Wed, 29 Apr 2015 23:08:43 +0000 (16:08 -0700)]
schannel: fix regression in schannel_recv

https://github.com/bagder/curl/issues/244

Commit 145c263 changed the behavior when Curl_read_plain returns
CURLE_AGAIN. We now handle CURLE_AGAIN and SEC_I_CONTEXT_EXPIRED
correctly.

9 years agoBug born in changes made several days ago 9a91e80.
Marc Hoersken [Fri, 1 May 2015 07:39:34 +0000 (09:39 +0200)]
Bug born in changes made several days ago 9a91e80.

Commit: https://github.com/bagder/curl/commit/926cb9f
Reported-by: Ray Satiro
9 years agoconfigure: remove missing and make it autogenerate
Michael Osipov [Thu, 30 Apr 2015 08:06:09 +0000 (10:06 +0200)]
configure: remove missing and make it autogenerate

The missing file has not been autogenerated because a temporary fix was
employed in acinclude.m4 which blocked update. Removed that fix and a recent
version of missing is copied to build root.

9 years agoacinclude.m4: fix test for default CA cert bundle/path
Michael Osipov [Thu, 30 Apr 2015 13:52:23 +0000 (15:52 +0200)]
acinclude.m4: fix test for default CA cert bundle/path

test(1) on HP-UX requires a single equals sign and fails with two.
Let's use one and make every OS happy.

9 years agoCONTRIBUTING.md: remove the sourceforge mention
Daniel Stenberg [Thu, 30 Apr 2015 16:35:43 +0000 (18:35 +0200)]
CONTRIBUTING.md: remove the sourceforge mention

Reported-By: Michael Osipov
9 years agohttp_negotiate_sspi: added missing data variable
Dan Fandrich [Thu, 30 Apr 2015 10:13:49 +0000 (12:13 +0200)]
http_negotiate_sspi: added missing data variable

9 years agoconfigure: remove --automake from libtoolize call
Michael Osipov [Thu, 30 Apr 2015 06:47:19 +0000 (08:47 +0200)]
configure: remove --automake from libtoolize call

That option is not mentioned in the man page of libtoolize 2.4.4.19-fda4.
Moveover, a comment in line 2623 says "--automake is for 1.5 compatibility".

This option is redundant now.

9 years agobuild: update depedency versions, urls, example makefiles
Viktor Szakats [Thu, 30 Apr 2015 06:29:00 +0000 (08:29 +0200)]
build: update depedency versions, urls, example makefiles

- update default versions of dependencies (except for rare/old platforms)
- update urls
- sync examples makefiles with main ones
- remove line ending space

9 years agoconfigure: remove autogenerated files by autoconf
Michael Osipov [Wed, 29 Apr 2015 20:51:04 +0000 (22:51 +0200)]
configure: remove autogenerated files by autoconf

* install-sh is always regenerated
* mkinstalldirs was already redudant years ago. Automake uses install for
  that. See: http://lists.gnu.org/archive/html/automake/2007-03/msg00015.html

9 years agocurl_multi_add_handle: next is already NULL
Anders Bakken [Wed, 29 Apr 2015 22:39:54 +0000 (15:39 -0700)]
curl_multi_add_handle: next is already NULL

9 years agoschannel: Fix out of bounds array
Jay Satiro [Thu, 30 Apr 2015 05:43:45 +0000 (01:43 -0400)]
schannel: Fix out of bounds array

Bug born in changes made several days ago 9a91e80.

Bug: http://curl.haxx.se/mail/lib-2015-04/0199.html
Reported-by: Brian Chrisman
9 years agodocs/libcurl: gitignore libcurl-symbols.3
Jay Satiro [Wed, 29 Apr 2015 17:51:42 +0000 (13:51 -0400)]
docs/libcurl: gitignore libcurl-symbols.3

Bug: http://curl.haxx.se/mail/lib-2015-04/0191.html
Reported-by: Michael Osipov
9 years agolib/makefile.m32: add arch -m32/-m64 to LDFLAGS
Viktor Szakats [Wed, 29 Apr 2015 10:05:25 +0000 (12:05 +0200)]
lib/makefile.m32: add arch -m32/-m64 to LDFLAGS

This fixes using a multi-target mingw distro to build curl .dll for the
non-default target.
(mirroring the same patch present in src/makefile.m32)

9 years agoRELEASE-NOTES: synced with cd39b944afc
Daniel Stenberg [Wed, 29 Apr 2015 06:38:04 +0000 (08:38 +0200)]
RELEASE-NOTES: synced with cd39b944afc

I've not mentioned the bug fixes that were shipped in 7.42.1 from the
7_42 branch.

9 years agoTHANKS: merged from the 7.42.1 release
Daniel Stenberg [Wed, 29 Apr 2015 06:25:12 +0000 (08:25 +0200)]
THANKS: merged from the 7.42.1 release

9 years agoCURLOPT_HEADEROPT: default to separate
Daniel Stenberg [Thu, 23 Apr 2015 13:58:21 +0000 (15:58 +0200)]
CURLOPT_HEADEROPT: default to separate

Make the HTTP headers separated by default for improved security and
reduced risk for information leakage.

Bug: http://curl.haxx.se/docs/adv_20150429.html
Reported-by: Yehezkel Horowitz, Oren Souroujon
9 years agodocs/libcurl: Corrected a typo in the CURLOPT_PROXY_SERVICE_NAME documentation
Linus Nielsen [Tue, 28 Apr 2015 12:46:48 +0000 (14:46 +0200)]
docs/libcurl: Corrected a typo in the CURLOPT_PROXY_SERVICE_NAME documentation

9 years agohash: simplify Curl_str_key_compare()
Daniel Stenberg [Tue, 28 Apr 2015 11:09:39 +0000 (13:09 +0200)]
hash: simplify Curl_str_key_compare()

9 years agodist: ship CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME
Daniel Stenberg [Tue, 28 Apr 2015 07:03:58 +0000 (09:03 +0200)]
dist: ship CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME

9 years agoNegotiate: custom service names for SPNEGO.
Linus Nielsen [Sun, 29 Mar 2015 12:52:31 +0000 (14:52 +0200)]
Negotiate: custom service names for SPNEGO.

* Add new options, CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME.
* Add new curl options, --proxy-service-name and --service-name.

9 years agohttp2: unify http_conn variable names to 'c'
Daniel Stenberg [Mon, 27 Apr 2015 11:21:41 +0000 (13:21 +0200)]
http2: unify http_conn variable names to 'c'

9 years agoConnectionExists: call it multi-use instead of pipelining
Daniel Stenberg [Mon, 27 Apr 2015 10:50:19 +0000 (12:50 +0200)]
ConnectionExists: call it multi-use instead of pipelining

So that it fits HTTP/2 as well

9 years agonss: fix compilation failure with old versions of NSS
Paul Howarth [Thu, 23 Apr 2015 13:56:03 +0000 (15:56 +0200)]
nss: fix compilation failure with old versions of NSS

Bug: http://curl.haxx.se/mail/lib-2015-04/0095.html

9 years agosws: init http2 state properly
Daniel Stenberg [Mon, 27 Apr 2015 06:38:52 +0000 (08:38 +0200)]
sws: init http2 state properly

It would otherwise cause problems when running tests after 1801 etc.

9 years agocurl_easy_getinfo.3: document 'internals' in CURLINFO_TLS_SESSION
Daniel Stenberg [Sun, 26 Apr 2015 22:29:18 +0000 (00:29 +0200)]
curl_easy_getinfo.3: document 'internals' in CURLINFO_TLS_SESSION

... as it was previouly undocumented what the pointer was.