/third_party/nghttp2/third-party/ |
D | Makefile.am | 1 # nghttp2 - HTTP/2 C Library 22 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 noinst_LTLIBRARIES = liburl-parser.la 32 url-parser/url_parser.c \ 33 url-parser/url_parser.h 41 libllhttp_la_CPPFLAGS = -I${srcdir}/llhttp/include 52 EXTRA_DIST += build_config.rb mruby/* 54 .PHONY: all-local clean mruby 56 mruby: target 57 mkdir -p "${abs_builddir}/mruby/build" [all …]
|
/third_party/nghttp2/src/ |
D | shrpx_mruby.cc | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 #include <mruby/compile.h> 28 #include <mruby/string.h> 38 namespace mruby { namespace 56 mrb_->ud = &data; in run_app() 83 if (mrb_->exc) { in run_app() 85 if (downstream->get_response_state() != DownstreamState::MSG_COMPLETE) { in run_app() 86 rv = -1; in run_app() 89 auto exc = mrb_obj_value(mrb_->exc); in run_app() [all …]
|
D | shrpx_mruby_module.cc | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 29 #include <mruby/variable.h> 30 #include <mruby/string.h> 31 #include <mruby/hash.h> 32 #include <mruby/array.h> 41 namespace mruby { namespace 111 } // namespace mruby
|
D | shrpx_mruby.h | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 32 #include <mruby.h> 33 #include <mruby/proc.h> 43 namespace mruby { 85 } // namespace mruby
|
D | shrpx_mruby_module_env.h | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 #include <mruby.h> 34 namespace mruby { 38 } // namespace mruby
|
D | shrpx_mruby_module_request.h | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 #include <mruby.h> 34 namespace mruby { 38 } // namespace mruby
|
D | shrpx_mruby_module_response.h | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 #include <mruby.h> 34 namespace mruby { 38 } // namespace mruby
|
D | shrpx_mruby_module.h | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 #include <mruby.h> 40 namespace mruby { 48 } // namespace mruby
|
D | shrpx_mruby_module_response.cc | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 #include <mruby/variable.h> 28 #include <mruby/string.h> 29 #include <mruby/hash.h> 30 #include <mruby/array.h> 43 namespace mruby { namespace 51 auto data = static_cast<MRubyAssocData *>(mrb->ud); in response_get_http_version_major() 52 auto downstream = data->downstream; in response_get_http_version_major() 53 const auto &resp = downstream->response(); in response_get_http_version_major() [all …]
|
D | shrpx_mruby_module_request.cc | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 #include <mruby/variable.h> 28 #include <mruby/string.h> 29 #include <mruby/hash.h> 30 #include <mruby/array.h> 43 namespace mruby { namespace 51 auto data = static_cast<MRubyAssocData *>(mrb->ud); in request_get_http_version_major() 52 auto downstream = data->downstream; in request_get_http_version_major() 53 const auto &req = downstream->request(); in request_get_http_version_major() [all …]
|
D | Makefile.am | 1 # nghttp2 - HTTP/2 C Library 22 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 37 -DPKGDATADIR='"$(pkgdatadir)"' \ 38 -I$(top_srcdir)/lib/includes \ 39 -I$(top_builddir)/lib/includes \ 40 -I$(top_srcdir)/lib \ 41 -I$(top_srcdir)/src/includes \ 42 -I$(top_srcdir)/third-party \ 43 -I$(top_srcdir)/third-party/llhttp/include \ 53 $(top_builddir)/third-party/liburl-parser.la \ [all …]
|
D | shrpx_worker.h | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 66 namespace mruby { 70 } // namespace mruby 152 auto d = lhs.cycle - rhs.cycle; in operator() 181 auto d = lhs.cycle - rhs.cycle; in operator() 211 std::shared_ptr<mruby::MRubyContext> mruby_ctx; 305 mruby::MRubyContext *get_mruby_context() const; 339 std::unique_ptr<mruby::MRubyContext> mruby_ctx_; 344 // get_config()->tls_ctx_per_worker == true. [all …]
|
D | shrpx_mruby_module_env.cc | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 #include <mruby/variable.h> 28 #include <mruby/string.h> 29 #include <mruby/hash.h> 41 namespace mruby { namespace 61 auto data = reinterpret_cast<MRubyAssocData *>(mrb->ud); in env_get_ctx() 62 auto downstream = data->downstream; in env_get_ctx() 78 auto data = static_cast<MRubyAssocData *>(mrb->ud); in env_get_phase() 80 return mrb_fixnum_value(data->phase); in env_get_phase() [all …]
|
D | shrpx_worker.cc | 2 * nghttp2 - HTTP/2 C Library 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 49 auto worker = static_cast<Worker *>(w->data); in eventcb() 50 worker->process_events(); in eventcb() 56 auto worker = static_cast<Worker *>(w->data); in mcpool_clear_cb() 57 if (worker->get_worker_stat()->num_connections != 0) { in mcpool_clear_cb() 60 auto mcpool = worker->get_mcpool(); in mcpool_clear_cb() 61 if (mcpool->freelistsize == mcpool->poolsize) { in mcpool_clear_cb() 62 worker->get_mcpool()->clear(); in mcpool_clear_cb() 69 auto worker = static_cast<Worker *>(w->data); in proc_wev_cb() [all …]
|
/third_party/nghttp2/doc/ |
D | nghttpx.h2r | 2 ----- 6 The configuration file path can be changed using :option:`--conf` 11 The option name in the configuration file is the long command-line 12 option name with leading ``--`` stripped (e.g., ``frontend``). Put 22 .. code-block:: text 24 add-request-header=foo: bar 28 .. code-block:: text 30 add-request-header="foo: bar" 32 The options which do not take argument in the command-line *take* 34 (e.g., ``http2-proxy=yes``). If other string is given, it is [all …]
|
D | nghttpx.1 | 5 nghttpx \- HTTP/2 proxy 7 .nr rst2man-indent-level 0 10 \\$1 \\n[an-margin] 11 level \\n[rst2man-indent-level] 12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 13 - 14 \\n[rst2man-indent0] 15 \\n[rst2man-indent1] 16 \\n[rst2man-indent2] 21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] [all …]
|
D | nghttpx.1.rst | 10 -------- 15 ----------- 23 "no-tls" parameter is used in :option:`--frontend` option. 28 "no-tls" parameter is used in :option:`--frontend` option. To 33 ------- 40 .. option:: -b, --backend=(<HOST>,<PORT>|unix:<PATH>)[;[<PATTERN>[:...]][[;<PARAM>]...] 46 with "unix:" (e.g., unix:/var/run/backend.sock). 53 must start with "*/*". If it ends with "*/*", it matches 54 all request path in its subtree. To deal with the 56 path which ends with "*/*" also matches the request path [all …]
|
/third_party/nghttp2/ |
D | releasechk | 1 #!/bin/sh -e 3 autoreconf -i 4 git submodule update --init 5 ./configure --with-mruby --with-neverbleed --enable-asio-lib 6 make -j8 distcheck DISTCHECK_CONFIGURE_FLAGS="--with-mruby --with-neverbleed --enable-asio-lib --en…
|
D | .travis.yml | 3 - linux 5 - clang 6 - gcc 9 - CI_BUILD=cmake 10 - CI_BUILD=autotools 13 - os: osx 22 - ubuntu-toolchain-r-test 24 - g++-8 25 - autoconf 26 - automake [all …]
|
D | README.rst | 1 nghttp2 - HTTP/2 C Library 20 ------------------ 23 HTTP/2 and `RFC 7541 <https://tools.ietf.org/html/rfc7541>`_ HPACK - 27 (https://github.com/tatsuhiro-t/spdylay) project. 30 ------------------ 37 This endpoint supports ``h2``, ``h2-16``, ``h2-14``, and 46 ------------ 50 * pkg-config >= 0.20 59 * sphinx (http://sphinx-doc.org/) 62 all you need. Use ``--enable-lib-only`` to ensure that only [all …]
|
D | configure.ac | 1 dnl nghttp2 - HTTP/2 C Library 22 dnl WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25 dnl http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html 28 AC_INIT([nghttp2], [1.43.0], [t-tujikawa@users.sourceforge.net]) 41 AM_INIT_AUTOMAKE([subdir-objects]) 46 dnl http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 51 major=`echo $PACKAGE_VERSION |cut -d. -f1 | sed -e "s/[^0-9]//g"` 52 minor=`echo $PACKAGE_VERSION |cut -d. -f2 | sed -e "s/[^0-9]//g"` 53 patch=`echo $PACKAGE_VERSION |cut -d. -f3 | cut -d- -f1 | sed -e "s/[^0-9]//g"` 59 dnl Checks for command-line options [all …]
|
D | makerelease.sh | 1 #!/bin/sh -e 7 git log --pretty=fuller --date=short refs/tags/$PREV_TAG..HEAD > ChangeLog 9 git submodule update --init 11 autoreconf -i 12 ./configure --with-mruby && \ 13 make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
|
/third_party/nghttp2/integration-tests/ |
D | nghttpx_http1_test.go | 36 // TestH1H1PlainGETClose tests whether simple HTTP/1 GET request with 58 // TestH1H1InvalidMethod tests that server rejects invalid method with 80 // contains multiple Content-Length header fields. 89 Test-Case: TestH1H1MultipleRequestCL 90 Content-Length: 0 91 Content-Length: 0 132 st := newServerTester([]string{"--affinity-cookie"}, t, noopHandler) 146 const pattern = `affinity=[0-9a-f]{8}; Path=/foo/bar` 148 if got := res.header.Get("Set-Cookie"); !validCookie.MatchString(got) { 149 t.Errorf("Set-Cookie: %v; want pattern %v", got, pattern) [all …]
|
/third_party/nghttp2/.github/workflows/ |
D | build.yml | 7 runs-on: ${{ matrix.os }} 11 os: [ubuntu-20.04, macos-10.15] 16 - uses: actions/checkout@v2 17 - name: Linux setup 20 sudo apt-get install \ 21 g++-8 \ 22 clang-10 \ 25 autotools-dev \ 27 pkg-config \ 28 zlib1g-dev \ [all …]
|
/third_party/libuv/ |
D | LINKS.md | 3 * [cjdns](https://github.com/cjdelisle/cjdns): Encrypted self-configuring network/VPN routing engine 5 * [CMake](https://cmake.org) open-source, cross-platform family of tools designed to build, test an… 7 * [DPS-For-IoT](https://github.com/intel/dps-for-iot/wiki): Fully distributed publish/subscribe pro… 8 * [HashLink](https://github.com/HaxeFoundation/hashlink): Haxe run-time with libuv support included. 10 * [H2O](https://github.com/h2o/h2o): An optimized HTTP server with support for HTTP/1.x and HTTP/2. 14 * [Knot DNS Resolver](https://www.knot-resolver.cz/): A minimalistic DNS caching resolver 17 * [libstorj](https://github.com/Storj/libstorj): Library for interacting with Storj network 18 * [libuv_message_framing](https://github.com/litesync/libuv_message_framing) Message-based communic… 23 * [Mysocks](https://github.com/zhou0/mysocks): a cross-platform [Shadowsocks](https://shadowsocks.o… 28 * [node.native](https://github.com/d5/node.native): node.js-like API for C++11 [all …]
|