What is HTTP/2?(什么是 HTTP/2?)
Before diving straight into the topic, let’s first look at some of the HTTP/2 terminologies used frequently.
在深入讨论之前,让我们先看下经常使用的一些 HTTP/2 的术语。
Stream: An established bidirectional connection which may carry one or more messages
Message: A complete sequence of frames that represents a request or response message
Frame: The smallest unit of communication in HTTP/2. Each frame contains a frame header which could identify the stream to which the frame belongs.
h2: Short term for HTTP/2
流: 已建立的双向连接,可以携带一个或多个消息
消息: 表示请求或响应消息的完整帧序列
帧: HTTP/2 中最小的通信单位。 每个帧包含一个帧头,它可以识别帧所属的流。
h2: HTTP/2 的短期
Note: It was originally named as HTTP/2.0 but later “.0” part was dropped because it has caused some confusions with HTTP/1.x. So we no longer use HTTP/2.0, it’s HTTP/2 or h2 for short 😊
注意:
它最初被命名为 HTTP/2.0,但后来“.0”部分被删除,因为它引起了 HTTP/1.x 的一些混淆。 所以我们不再使用 HTTP/2.0,简而言之是 HTTP/2 或 h2
表状态程序管理应用
The Internet changes: HTTP/3 will not use TCP anymore(因特网变更:HTTP/3 将不再使用 TCP)
QUIC is the protocol underlying the next version of HTTP
QUIC 是下一个版本 HTTP 的基础协议
the Internet Engineering Task Force (IETF) has revealed that the third official version of HyperText Transfer Protocol (HTTP) will not use TCP anymore. Instead, it will run over the QUIC protocol first developed by Google back in 2012.
因特网工程工作组(Internet Engineering Task Force 简称:IETF)透露,第三个官方版本的超文本传输协议(HyperText Transfer Protocol 简称:HTTP)将不再使用 TCP。反而,它将运行 2012 年由谷歌首次开发的 QUIC 协议。
回想自己第一次写爬虫的经历
回文数
如何减少需求理解的偏差
工作中,我们总是会因为种种原因导致自己做的功能不合格需要重做。那么如何减少需要理解的偏差呢?
redis unauthorized access vulnerability simulation(redis未经授权的访问漏洞模拟)
Redis, is an open source, widely popular data structure tool that can be used as an in-memory distributed database, message broker or cache. Since it is designed to be accessed inside trusted environments, it should not be exposed on the Internet. However, some Redis’ are bind to public interface and even has no password authentication protection.
Redis是一个开源的、广泛流行的数据结构工具,可以用作内存中的分布式数据库、消息代理或缓存。因为它被设计为在受信任的环境中访问,所以不应该在 Internet 上公开。然而,一些 Redis 绑定到公共接口,甚至没有密码身份验证保护。