| /external/curl/.github/workflows/ |
| D | macos.yml | 3 # SPDX-License-Identifier: curl 10 - master 11 - '*/ci' 12 paths-ignore: 13 - '**/*.md' 14 - '.azure-pipelines.yml' 15 - '.circleci/**' 16 - '.cirrus.yml' 17 - 'appveyor.*' 18 - 'packages/**' [all …]
|
| /external/curl/tests/http/ |
| D | test_10_proxy.py | 2 # -*- coding: utf-8 -*- 20 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 23 # SPDX-License-Identifier: curl 48 env.make_data_file(indir=env.gen_dir, fname="data-100k", fsize=100*1024) 49 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024) 70 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'), 71 reason='curl lacks HTTPS-proxy support') 74 if proto == 'h2' and not env.curl_uses_lib('nghttp2'): 75 pytest.skip('only supported with nghttp2') 85 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason=f"curl without SSL") [all …]
|
| D | test_13_proxy_auth.py | 2 # -*- coding: utf-8 -*- 20 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 23 # SPDX-License-Identifier: curl 76 xargs.extend(['--proxy-user', 'proxy:proxy']) 81 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'), 82 reason='curl lacks HTTPS-proxy support') 92 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'), 93 reason='curl lacks HTTPS-proxy support') 99 xargs.extend(['--proxy-user', 'proxy:proxy']) 117 xargs.extend(['--proxy-user', 'proxy:proxy']) [all …]
|
| D | test_14_auth.py | 2 # -*- coding: utf-8 -*- 20 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 23 # SPDX-License-Identifier: curl 45 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024) 67 '--digest', '--user', 'test:test' 80 '--digest', '--user', 'test:test' 94 '--digest', '--user', f'test:{password}', 95 '--trace-config', 'http/2,http/3' 108 pytest.skip("quiche/openssl-quic have problems with large requests") 109 # just large enough that nghttp2 will submit [all …]
|
| /external/curl/CMake/ |
| D | FindNGHTTP2.cmake | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 26 find_path(NGHTTP2_INCLUDE_DIR "nghttp2/nghttp2.h") 28 find_library(NGHTTP2_LIBRARY NAMES nghttp2 nghttp2_static) 30 find_package_handle_standard_args(NGHTTP2
|
| /external/oss-fuzz/projects/nghttp2/ |
| D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 FROM gcr.io/oss-fuzz-base/base-builder 18 RUN apt-get update && apt-get install -y make autoconf automake libtool pkg-config 19 RUN git clone --depth 1 https://github.com/nghttp2/nghttp2.git 20 WORKDIR nghttp2
|
| /external/curl/docs/ |
| D | HTTP2.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 10 [HTTP/2 Spec](https://www.rfc-editor.org/rfc/rfc7540.txt) 14 ------------------- 15 - nghttp2 16 - OpenSSL, libressl, BoringSSL, GnuTLS, mbedTLS, wolfSSL or Schannel 19 [nghttp2](https://nghttp2.org/) 20 ------------------------------- 24 than HTTP/1.1 (which we implement on our own) and that nghttp2 is an already [all …]
|
| D | HTTP3.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 11 [HTTP/3 Explained](https://http3-explained.haxx.se/en/) - the online free 14 [quicwg.org](https://quicwg.org/) - home of the official protocol drafts 22 [quiche](https://github.com/cloudflare/quiche) - **EXPERIMENTAL** 24 [OpenSSL 3.2+ QUIC](https://github.com/openssl/openssl) - **EXPERIMENTAL** 26 [msh3](https://github.com/nibanks/msh3) (with [msquic](https://github.com/microsoft/msquic)) - **EX… 35 master branch using pull-requests, just like ordinary changes. 39 - the used QUIC library needs to consider itself non-beta [all …]
|
| D | FEATURES.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 7 # Features -- what curl can do 11 - config file support 12 - multiple URLs in a single command line 13 - range "globbing" support: [0-13], {one,two,three} 14 - multiple file upload on a single command line 15 - custom maximum transfer rate 16 - redirect stderr [all …]
|
| /external/curl/winbuild/ |
| D | Makefile.vc | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 151 NGHTTP2 = dll 154 NGHTTP2 = dll 157 NGHTTP2 = static 218 CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-vc$(VC)-$(MACHINE) 221 CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-debug 223 CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-release 227 CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-dll 229 CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-static [all …]
|
| D | MakefileBuild.vc | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 43 # This command macro is not set by default: https://msdn.microsoft.com/en-us/library/ms933742.aspx 61 # - optimizing options like /opt:ref raises warnings (at least in Visual Studio 2015) 62 # - all (including Windows) dependencies are aggregated (as static parts) 63 # - link.exe /lib is not documented (anymore) at MSDN 159 NGHTTP2_LIBS = nghttp2.lib 165 NGHTTP2_LIBS = nghttp2.lib 298 # libssh2 NMakefile on Windows at default creates a static library without _a suffix 383 !ERROR cannot build with Schannel without SSPI [all …]
|
| /external/curl/lib/ |
| D | http2.c | 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 * SPDX-License-Identifier: curl 29 #include <nghttp2/nghttp2.h> 42 #include "urlapi-int.h" 57 #error too old nghttp2 version, upgrade! 100 iv[0].value = Curl_multi_max_concurrent_streams(data->multi); in populate_settings() 106 iv[2].value = data->multi->push_cb != NULL; in populate_settings() 133 struct Curl_hash streams; /* hash of `data->id` to `h2_stream_ctx` */ 147 ((struct cf_h2_ctx *)(cf)->ctx)->call_data 151 struct cf_call_data save = ctx->call_data; in cf_h2_ctx_clear() [all …]
|
| D | cf-h2-proxy.c | 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 * SPDX-License-Identifier: curl 29 #include <nghttp2/nghttp2.h> 42 #include "cf-h2-proxy.h" 91 ts->state = H2_TUNNEL_INIT; in tunnel_stream_init() 92 ts->stream_id = -1; in tunnel_stream_init() 93 Curl_bufq_init2(&ts->recvbuf, PROXY_H2_CHUNK_SIZE, H2_TUNNEL_RECV_CHUNKS, in tunnel_stream_init() 95 Curl_bufq_init(&ts->sendbuf, PROXY_H2_CHUNK_SIZE, H2_TUNNEL_SEND_CHUNKS); in tunnel_stream_init() 101 ts->authority = /* host:port with IPv6 support */ in tunnel_stream_init() 103 if(!ts->authority) in tunnel_stream_init() [all …]
|
| D | dynhds.h | 20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 23 * SPDX-License-Identifier: curl 35 * `name` and `value` are non-NULL and always NUL terminated. 87 * Return the n-th header entry or NULL if it does not exist. 107 * Names are case-insensitive. 113 * Return how often the given 0-terminated name appears in `dynhds`. 114 * Names are case-insensitive. 127 * Add a header, c-string name + value, to `dynhds` at the end. 177 #include <nghttp2/nghttp2.h>
|
| D | version.c | 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 * SPDX-License-Identifier: curl 28 #include <nghttp2/nghttp2.h> 67 /* Ignore -Wvla warnings in brotli headers */ 69 #pragma GCC diagnostic ignored "-Wvla" 105 unsigned int minor = (unsigned int)((zstd_version - in zstd_version() 107 unsigned int patch = (unsigned int)(zstd_version - in zstd_version() 108 (major * 100 * 100) - (minor * 100)); in zstd_version() 116 * It is implemented to work multi-threaded by making sure repeated invokes 193 brotli_version(&br_version[7], sizeof(br_version) - 7); in curl_version() [all …]
|
| D | http2.h | 20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 23 * SPDX-License-Identifier: curl 37 * Store nghttp2 version info in this buffer.
|
| D | Makefile.mk | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 25 # Makefile to build curl parts with GCC-like toolchains and optional features. 27 # Usage: make -f Makefile.mk CFG=-feat1[-feat2][-feat3][...] 28 # Example: make -f Makefile.mk CFG=-zlib-ssl-libssh2-ipv6 54 TRIPLET ?= $(shell $(CC) -dumpmachine) 59 # Cross-tools: https://github.com/andrewwutw/build-djgpp 63 # Cross-tools: https://github.com/bebbo/amiga-gcc 67 CPPFLAGS += -I. -I$(PROOT)/include 77 ifneq ($(findstring -debug,$(CFG)),) [all …]
|
| D | dynhds.c | 18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 * SPDX-License-Identifier: curl 32 #include <nghttp2/nghttp2.h> 51 e->name = p = ((char *)e) + sizeof(*e); in entry_new() 53 e->namelen = namelen; in entry_new() 54 e->value = p += namelen + 1; /* leave a \0 at the end of name */ in entry_new() 56 e->valuelen = valuelen; in entry_new() 58 Curl_strntolower(e->name, e->name, e->namelen); in entry_new() 67 size_t valuelen2 = e->valuelen + 1 + valuelen; in entry_append() 71 e2 = calloc(1, sizeof(*e) + e->namelen + valuelen2 + 2); in entry_append() [all …]
|
| D | curl_config.h.in | 3 /* Ignore c-ares deprecation warnings */ 21 /* disable alt-svc */ 63 /* disable headers-api */ 66 /* disable alt-svc */ 87 /* to disable --libcurl C code generation option */ 114 /* disable progress-meter */ 305 /* Define to 1 if you have a working glibc-style strerror_r function. */ 314 /* if you have GSS-API libraries */ 393 /* Define to 1 if you have the `brotlidec' library (-lbrotlidec). */ 399 /* Define to 1 if you have the `idn2' library (-lidn2). */ [all …]
|
| /external/curl/ |
| D | .cirrus.yml | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 24 # https://cirrus-ci.com/github/curl/curl 27 # https://cirrus-ci.org/guide/writing-tasks/ 32 '.azure-pipelines.yml', 46 - name: FreeBSD 14.0 48 image_family: freebsd-14-0 53 MAKEFLAGS: -j 3 56 - pkg update -f 57 …- pkg install -y autoconf automake libtool pkgconf brotli openldap26-client heimdal libpsl libssh2… [all …]
|
| D | configure.ac | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 29 AC_INIT([curl], [-], [a suitable curl mailing list: https://curl.se/mail/]) 67 if test -z "$SED"; then 71 if test -z "$SED" || test "$SED" = "not_found"; then 72 AC_MSG_ERROR([sed not found in PATH. Cannot continue without sed.]) 79 if test -z "$GREP"; then 83 if test -z "$GREP" || test "$GREP" = "not_found"; then 84 AC_MSG_ERROR([grep not found in PATH. Cannot continue without grep.]) 89 dnl 'grep -E' is mandatory for configure process and libtool. [all …]
|
| /external/cronet/net/third_party/quiche/src/quiche/http2/adapter/ |
| D | data_source.h | 19 enum : int64_t { kBlocked = 0, kError = -1 }; 28 // false without sending or buffering anything. 42 // serialize the metadata for this source. Only required by the nghttp2 53 // fails in a non-recoverable way.
|
| D | nghttp2_adapter_test.cc | 8 #include "quiche/http2/adapter/nghttp2.h" 45 ssize_t result = visitor->OnReadyToSend(ToStringView(framehd, 9)); in TestSendCallback() 49 auto* test_source = static_cast<TestDataSource*>(source->ptr); in TestSendCallback() 50 absl::string_view payload = test_source->ReadNext(length); in TestSendCallback() 52 visitor->OnReadyToSend(payload); in TestSendCallback() 60 EXPECT_TRUE(adapter->want_read()); in TEST() 61 EXPECT_FALSE(adapter->want_write()); in TEST() 62 EXPECT_FALSE(adapter->IsServerSession()); in TEST() 68 int result = adapter->Send(); in TEST() 74 EXPECT_EQ(0, adapter->GetHighestReceivedStreamId()); in TEST() [all …]
|
| /external/curl/scripts/ |
| D | ciconfig.pl | 19 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 22 # SPDX-License-Identifier: curl 27 # check for and use this feature without the configure flag 29 # --enable- 32 'fast-install' => 1, 33 'silent-rules' => 1, 52 'libcurl-option' => 1, 55 'openssl-auto-load-config' => 1, 56 'versioned-symbols' => 1, 57 'symbol-hiding' => 1, [all …]
|
| /external/curl/.circleci/ |
| D | config.yml | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 28 # See https://circleci.com/docs/configuration-reference/#macos-execution-environment 30 …ion of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference 36 - run: 38 autoreconf -fi 39 … ./configure --enable-warnings --enable-werror --with-openssl || { tail -1000 config.log; false; } 41 configure-openssl-no-verbose: 43 - run: 45 autoreconf -fi [all …]
|