首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏程序手艺人

    nghttp2 中的常用API

    int nghttp2_session_callbacks_new(nghttp2_session_callbacks* *callbacks_ptr)

    2.7K20发布于 2019-02-21
  • 来自专栏程序手艺人

    nghttp2 - HTTP2 C Library 简明教程(一)

    nghttp2 - HTTP/2 C Library nghttp2 是在C中的超文本传输协议版本2的实现. HTTP/2 的框架层被实现为可重用的C库. nghttp2的代码库是从 spdylay中分出来的. (https://github.com/tatsuhiro-t/spdylay) project. 公共测试服务器 以下端点可用来测试nghttp2的实现. https://nghttp2.org/ (TLS + ALPN/NPN) 此端点通过ALPN/NPN支持h2,h2-16,h2-14,和http

    3.7K120发布于 2018-05-18
  • 来自专栏程序手艺人

    nghttp2 - HTTP2 C Library 简明教程(二)

    libjemalloc-dev libsystemd-dev libspdylay-dev \ cython python3-dev python-setuptools 核对各种库的安装版本 nghttp nghttp2 需要安装 OpenSSL 1.0.2g,版本,其他版本可能报错 OpenSSL >= 1.0.1 libev >= 4.11 zlib >= 1.2.3 libc-ares >= 1.7.5 配置 配置nghttp2

    2K20发布于 2019-02-21
  • 来自专栏python3

    curl 支持 HTTP2

    28:33 GMT Etag: "56572521-1a18" Accept-Ranges: bytes X-Backend-Header-Rtt: 0.000642 Server: nghttpx nghttp2 $ curl --http2 -I https://nghttp2.org/ # Unsupported protocol error 安装 nghttp2 安装 nghttp2 ad 工具(http2 libev-dev libevent-dev libjansson-dev \ libjemalloc-dev cython python3-dev python-setuptools # Build nghttp2 from source git clone https://github.com/tatsuhiro-t/nghttp2.git cd nghttp2 autoreconf -i automake autoconf

    5K10发布于 2020-01-06
  • 来自专栏大前端修炼手册

    深入理解HTTP2:nghttp2库源码解析及客户端实现示例

    一、HTTP/2 特性实现:nghttp2 源码剖析 在我们开始探索如何使用 nghttp2 库创建一个 HTTP/2 客户端之前,首先让我们结合 nghttp2 库的源码,了解 HTTP/2 的主要特性是如何实现的 在 nghttp2 中,多路复用的实现可以在 nghttp2_stream.c 文件中找到。nghttp2 使用优先级队列来管理多个流,以实现多路复用。 在 nghttp2 中,头部压缩的实现可以在 nghttp2_hd.c 文件中找到。 二、使用 nghttp2 库创建一个 HTTP/2 客户端 理论知识了解了之后,接下来我们通过一个实例来看看如何使用 nghttp2 库创建一个 HTTP/2 客户端。 三、结语 通过对 nghttp2 库的源码剖析,我们对 HTTP/2 的主要特性有了深入的理解。同时,我们也演示了如何使用 nghttp2 库创建一个 HTTP/2 客户端。

    1.8K10编辑于 2024-08-09
  • 来自专栏landv

    [nghttp2]压测工具,源码编译并进行deb打包过程

    编译环境:deepin 15.11桌面版 nghttp2下载地址:https://github.com/nghttp2/nghttp2 环境要求 emm只能在类Linux环境才能完整编译,想在Windows 请注意,在撰写本文时,Debian / Ubuntu中的libmruby-dev和mruby包不能用于nghttp2,因为它们不启用C ++ ABI。 从发布tar存档构建nghttp2 nghttp2项目定期发布tar档案,其中包括nghttp2源代码和生成的构建文件。可以从“ 版本”页面下载它们。 从git构建nghttp2需要autotools开发包。从tar档案构建不需要它们,因此它更容易。 https://github.com/landv/nghttp2/releases/download/v1.39.11/nghttp2-tools_1.0-1_amd64.deb 说白了还是不熟悉,

    2.2K20发布于 2019-08-07
  • 来自专栏owent

    给cmake-toolset和工具链加HTTP/2和HTTP/3支持

    前言 前段时间集成一些公司内组件的时候发现它依赖 nghttp2 。正好之前一直有给我的构建工具(cmake-toolset)里的构建 curl 的流程加 HTTP/2 和 HTTP/3 的计划。 nghttp2,nghttp3和ngtcp2的依赖关系是 ngtcp2依赖nghttp3,nghttp2依赖ngtcp2。 nghttp2,nghttp3,ngtcp2构建流程的一些问题 nghttp2,nghttp3和ngtcp2的工程结构很相似,所以问题点也很相似。 其次 nghttp2,nghttp3和ngtcp2 的构建流程中,都是通过一个宏来控制他们是否是输出的静态库( NGHTTP2_STATICLIB , NGHTTP3_STATICLIB和 NGTCP2 另外 nghttp2的构建碰到了一个兼容性问题,它在输出的头文件里直接使用了 ssize_t 这个类型,但是有些平台中,这个类型是不存在的,所以也需要处理适配添加一下。

    1.1K20编辑于 2023-03-06
  • 来自专栏iOSDevLog

    升级 hexo 解决 Upgrade braces to version 2.3.1

    node: 11.12.0 v8: 7.0.276.38-node.18 uv: 1.26.0 zlib: 1.2.11 brotli: 1.0.7 ares: 1.15.0 modules: 67 nghttp2 node: 11.12.0 v8: 7.0.276.38-node.18 uv: 1.26.0 zlib: 1.2.11 brotli: 1.0.7 ares: 1.15.0 modules: 67 nghttp2

    1K20发布于 2019-06-21
  • 来自专栏方亮

    在ubuntu上编译prometheus

    brotli: ‘1.0.7’, cldr: ‘36.1’, http_parser: ‘2.9.3’, icu: ‘66.1’, modules: ‘64’, napi: ‘5’, nghttp2 cjs_module_lexer: ‘1.2.2’, cldr: ‘44.1’, icu: ‘74.2’, llhttp: ‘8.1.1’, modules: ‘115’, napi: ‘9’, nghttp2

    83000编辑于 2024-05-24
  • 来自专栏码匠的流水账

    java9系列(六)HTTP/2 Client (Incubator)

    HTTP/2 curl http2 安装 brew install curl --with-nghttp2 ==> Installing dependencies for curl: jemalloc, nghttp2 /usr/local/Cellar/jemalloc/5.0.1: 16 files, 1.6MB ==> Installing curl dependency: nghttp2 ==> Downloading /usr/local/Cellar/nghttp2/1.31.0: 33 files, 6.3MB ==> Installing curl --with-nghttp2 ==> Downloading seconds 检查 curl -V curl 7.58.0 (x86_64-apple-darwin16.7.0) libcurl/7.58.0 OpenSSL/1.0.2n zlib/1.2.8 nghttp2

    1.4K10发布于 2018-09-17
  • 来自专栏超级架构师

    【服务网格架构】Envoy和类似的系统比较

    nghttp2 nghttp2是一个包含几个不同的东西的项目。它主要包含一个实现HTTP / 2协议的库(nghttp2)。Envoy使用这个库(顶部有一个非常薄的包装)来支持HTTP / 2。

    1.1K30发布于 2020-07-20
  • 来自专栏超级架构师

    Envoy和类似的系统比较

    nghttp2 nghttp2是一个包含几个不同的东西的项目。它主要包含一个实现HTTP / 2协议的库(nghttp2)。 Envoy使用这个库(顶部有一个非常薄的包装)来支持HTTP / 2。

    2.1K60发布于 2018-04-09
  • 来自专栏Technology Share

    HTTP/2探索第二篇——工具及应用

    系列文章 Reference HTTP/2环境搭建Step by step 本文需要安装的软件为(Mac用户请使用homebrew来安装,括号里都是Mac的安装方式) curl (brew install nghttp2 /usr/local --with-ssl $ make $ sudo make install $ ldconfig $ usr/local/bin/curl -V Linux安装 nghttp2 (brew install nghttp2) 安装网址 sudo apt-get install g++ make binutils autoconf automake autotools-dev libtool >; rel=preload; as=stylesheet < accept-ranges:bytes < x-backend-header-rtt:0.000625< server:nghttpx nghttp2 charset=GB18030< Location: https://mail.qq.com/cgi-bin/loginpage< Content-Length: 0< nghttp 官方文档,安装nghttp2

    3.4K100发布于 2018-01-29
  • 来自专栏MyTechnology

    Centos安装NodeJs

    : '36.0', http_parser: '2.9.3', icu: '65.1', llhttp: '2.0.4', modules: '72', napi: '5', nghttp2

    1.8K20发布于 2020-07-31
  • 来自专栏用户8644135的专栏

    CentOS 7.4升级Curl版本

    64-redhat-linux-gnu) libcurl/7.70.0 NSS/3.44 zlib/1.2.7 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.9.0 nghttp2 64-redhat-linux-gnu) libcurl/7.70.0 NSS/3.44 zlib/1.2.7 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.9.0 nghttp2

    5K30发布于 2021-06-29
  • 来自专栏运维部落

    nginx也许并不是service mesh最好的选择,envoy才是

    nghttpx是一个基于nghttp2的代理,nghttp2是一个http2的库,前面提到grpc本质是基于http2的通信,所以要想做grpc的代理,必须要底层要能支持http2,这也是为什么最近发布的

    2K20发布于 2020-01-13
  • 来自专栏个人路线

    鸿蒙 PC 命令行适配:生态价值、社区进展与协作指南

    OpenHarmonyPCDeveloper/libxslt YES https://gitcode.com/OpenHarmonyPCDeveloper/libxslt/releases/v1.1.43_ohos 1.1.43 9 nghttp2 https://gitcode.com/OpenHarmonyPCDeveloper/nghttp2 YES https://gitcode.com/OpenHarmonyPCDeveloper/nghttp2

    59310编辑于 2025-11-29
  • 来自专栏入侵检测系统

    网络入侵检测系统之Snort(二)--数据流图与环境搭建

    make installsudo apt-get install -y autoconf libtool pkg-configcd ~/snort_srcwget https://github.com/nghttp2 /nghttp2/releases/download/v1.17.0/nghttp2-1.17.0.tar.gztar -xzvf nghttp2-1.17.0.tar.gzcd nghttp2-1.17.0autoreconf

    65910编辑于 2024-03-20
  • 来自专栏陶士涵的菜地

    [PHP] swoole的安装和简单使用

    1. pecl install swoole 开启http2支持需要的依赖库:apt-get install nghttp2 开启的几个参数: enable sockets supports?

    81520发布于 2019-09-10
  • 来自专栏全栈程序员必看

    linux 安装ssh_node modules安装

    node.20', uv: '1.43.0', zlib: '1.2.11', brotli: '1.0.9', ares: '1.18.1', modules: '93', nghttp2

    2K20编辑于 2022-09-30
领券