Module http1

Module http1 

Source

Structs§

Pool
http1连接池 连接池中的连接受max_conn数据限制 默认的keepalive是一分钟 有三种行为会导致连接池中的连接被释放 1.对方主动关闭连接 2.remove_backend被调用清除后端地址, 这会导致该地址的所有连接失效 3.在外界没有引用sender达到keepalive时间后, 注意如果没有设置keepalive则此条无效
Sender

Traits§

HttpPool

Functions§

get
request_builder
request构造器, 要求是全路径的uri

Type Aliases§

SendRequest