aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-07mbedtls: Fix ALPN supportJay Satiro
- Fix ALPN reply detection. - Wrap nghttp2 code in ifdef USE_NGHTTP2. Prior to this change ALPN and HTTP/2 did not work properly in mbedTLS.
2016-01-06http2: Fix client write for trailers on stream closeJay Satiro
Check that the trailer buffer exists before attempting a client write for trailers on stream close. Refer to comments in https://github.com/bagder/curl/pull/564
2016-01-07COPYING: update general copyright year rangeDaniel Stenberg
2016-01-06ConnectionExists: add missing newline in infof() callDaniel Stenberg
Mistake from commit a464f33843ee1
2016-01-06multiplex: allow only once HTTP/2 is actually usedDaniel Stenberg
To make sure curl doesn't allow multiplexing before a connection is upgraded to HTTP/2 (like when Upgrade: h2c fails), we must make sure the connection uses HTTP/2 as well and not only check what's wanted. Closes #584 Patch-by: c0ff
2016-01-04curl_global_init.3: Add Windows-specific info for init via DLLJay Satiro
- Add to both curl_global_init.3 and libcurl.3 the caveat for Windows that initializing libcurl via a DLL's DllMain or static initializer could cause a deadlock. Bug: https://github.com/bagder/curl/issues/586 Reported-by: marc-groundctl@users.noreply.github.com
2016-01-04FAQ: clarify who to mail about ECCN clarificationsDaniel Stenberg
2016-01-04progressfunc.c: spellfix descriptionDaniel Stenberg
2016-01-04docs/examples/multi-app.c: fix bad desc formattingDaniel Stenberg
2016-01-04examples: added descriptionsDaniel Stenberg
2016-01-04example/simple.c: add descriptionDaniel Stenberg
2016-01-04getredirect.c: a new exampleDaniel Stenberg
2015-12-27RELEASE-NOTES: add 5e0e81a9c4e35f04caMarc Hoersken
2015-12-26RELEASE-NOTES: synced with 2aec4359db1088b10dDaniel Stenberg
2015-12-26test 1515: add data checkMarc Hoersken
2015-12-26test 1515: add MSYS support by passing a relative pathMarc Hoersken
MSYS would otherwise turn a /-style path into a C:\-style path.
2015-12-26test 539: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
While still using datacheck mode binary for the inline reply data.
2015-12-26runtests.pl: check up to 5 data parts with different text modesMarc Hoersken
Move the text-mode conversion for reply/replycheck from the verify section into the load section and add support for 4 more check parts.
2015-12-24CURLOPT_RANGE: for HTTP servers, range support is optionalDaniel Stenberg
2015-12-24tests 1048 and 1050: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-24tests 706 and 707: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-24tests 400,403,406: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-23sockfilt.c: fix calculation of sleep timeout on WindowsMarc Hoersken
Not converting to double caused small timeouts to be skipped.
2015-12-23tests first.c: fix calculation of sleep timeout on WindowsMarc Hoersken
Not converting to double caused small timeouts to be skipped.
2015-12-23test 573: add more debug outputMarc Hoersken
2015-12-23ftplistparser.c: fix handling of file LISTings using Windows EOLMarc Hoersken
Previously file.txt[CR][LF] would have been returned as file.tx (without the last t) if filetype is symlink. Now the t is included and the internal item_length includes the zero byte. Spotted using test 576 on Windows.
2015-12-23test 16: fix on Linux (and Windows) by using plain ASCII charactersMarc Hoersken
Follow up on b064ff0c351bb287557228575ef4c1d079b866fb, thanks Daniel.
2015-12-23tftpd server: add Windows support by writing files in binary modeMarc Hoersken
2015-12-23tests 252-255: use datacheck mode text for ASCII-mode LISTingsMarc Hoersken
2015-12-23test 16: fix on Windows by converting data file from ANSI to UTF-8Marc Hoersken
2015-12-23Makefile.inc: s/curl_SOURCES/CURL_FILESDaniel Stenberg
This allows the root Makefile.am to include the Makefile.inc without causing automake to warn on it (variables named *_SOURCES are magic). curl_SOURCES is then instead assigned properly in src/Makefile.am only. Closes #577
2015-12-23ConnectionExists: with *PIPEWAIT, wait for connectionsAnders Bakken
Try harder to prevent libcurl from opening up an additional socket when CURLOPT_PIPEWAIT is set. Accomplished by letting ongoing TCP and TLS handshakes complete first before the decision is made. Closes #575
2015-12-23Add .dir-locals and set c-basic-offset to 2.Anders Bakken
This makes it easier for emacs users to automatically get the right 2-space indentation when they edit curl source files. c++-mode is in there as well because Emacs can't easily know if something is a C or C++ header. Closes #574
2015-12-20configure: detect IPv6 support on WindowsJohannes Schindelin
This patch was "nicked" from the MINGW-packages project by Daniel. https://github.com/Alexpux/MINGW-packages/commit/9253d0bf58a1486e91f7efb5316e7fdb48fa4007 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-12-20configure: allow static builds on mingwDaniel Stenberg
This patch is adopted from the MINGW-packages project. It makes it possible to build curl both shared and static again. URL: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-curl
2015-12-17test 1326: fix file check since curl is outputting binary dataMarc Hoersken
2015-12-17test 1326: fix getting stuck on Windows due to incomplete requestMarc Hoersken
The request needs to be read and send in binary mode in order to use CRLF instead of LF. Adding --upload-file - causes curl to read stdin in binary mode.
2015-12-17RELEASE-NOTES: command line option recountDaniel Stenberg
2015-12-16scripts/Makefile: build zsh script even in an out-of-tree buildDan Fandrich
2015-12-16sockfilt.c: added some debug output to select_wsMarc Hoersken
2015-12-16sockfilt.c: keep lines shorter than 80 charsMarc Hoersken
2015-12-16sockfilt.c: do not wait on unreliable file or pipe handleMarc Hoersken
The previous implementation caused issues on modern MSYS2 runtimes.
2015-12-16cyassl: deal with lack of *get_peer_certificateDaniel Stenberg
The function is only present in wolfssl/cyassl if it was built with --enable-opensslextra. With these checks added, pinning support is disabled unless the TLS lib has that function available. Also fix the mistake in configure that checks for the wrong lib name. Closes #566
2015-12-16wolfssl: handle builds without SSLv3 supportDaniel Stenberg
2015-12-15http2: Support trailer fieldsTatsuhiro Tsujikawa
This commit adds trailer support in HTTP/2. In HTTP/1.1, chunked encoding must be used to send trialer fields. HTTP/2 deprecated any trandfer-encoding, including chunked. But trailer fields are now always available. Since trailer fields are relatively rare these days (gRPC uses them extensively though), allocating buffer for trailer fields is done when we detect that HEADERS frame containing trailer fields is started. We use Curl_add_buffer_* functions to buffer all trailers, just like we do for regular header fields. And then deliver them when stream is closed. We have to be careful here so that all data are delivered to upper layer before sending trailers to the application. We can deliver trailer field one by one using NGHTTP2_ERR_PAUSE mechanism, but current method is far more simple. Another possibility is use chunked encoding internally for HTTP/2 traffic. I have not tested it, but it could add another overhead. Closes #564
2015-12-15RELEASE-NOTES: synced with 6c2c019654e658aDaniel Stenberg
2015-12-15x509asn1: Fix host altname verificationJay Satiro
- In Curl_verifyhost check all altnames in the certificate. Prior to this change only the first altname was checked. Only the GSKit SSL backend was affected by this bug. Bug: http://curl.haxx.se/mail/lib-2015-12/0062.html Reported-by: John Kohl
2015-12-15curl --expect100-timeout: addedDaniel Stenberg
This is the new command line option to set the value for the existing libcurl option CURLOPT_EXPECT_100_TIMEOUT_MS
2015-12-15cyassl: fix compiler warning on type conversionDaniel Stenberg
2015-12-15curlver: the pending release will become 7.47.0Daniel Stenberg