TrafficServer 是Apache基金会的 HTTP/HTTP2 代理服务器。 TrafficServer 的 HTTP2 部分主要的代码在 : 1. trafficserver/proxy/http2/HTTP2.h, HTTP2.cc 1. trafficserver/proxy/htt ...
分类:
Web程序 时间:
2020-04-30 19:29:23
阅读次数:
83
原始语句: INSERT INTO mail_send ( createTime, updateTime, flag, accountId, messageID, sender, senderName, fromer, replyTo, toer, ccer, bccer, SUBJECT, tex ...
分类:
其他好文 时间:
2020-04-30 15:34:27
阅读次数:
64
Proxy Pattern 代理模式 The proxy pattern provides an object that controls access to another object, intercepting all calls. 代理模式提供一个对象,该对象控制对另一个对象的访问,拦截所有 ...
分类:
编程语言 时间:
2020-04-30 15:33:57
阅读次数:
78
基本介绍 迭代器模式(Iterator Pattern)是 Java 中使用最多的一种模式,它可以顺序的访问容器中的元素,但不需要知道容器的内部细节 模式结构 Iterator(抽象迭代器):定义遍历元素所需的基本方法 ConcreteIterator(具体迭代器):根据自己的需求实现抽象方法,完成 ...
分类:
其他好文 时间:
2020-04-30 11:42:04
阅读次数:
65
https://indexoutofrange.com/Could_not_load_file_or_assembly_or_one_of_its_dependencies/ Reading assembly binding log files (Fusion Log) This is my pre ...
分类:
其他好文 时间:
2020-04-30 11:29:55
阅读次数:
63
(1)npm i http-proxy-middleware --save (2)vue.config.js: devServer: { proxy: { "/api": { target: "http://localhost:3000", // 要请求的后台地址 ws: true, // 启用we ...
分类:
其他好文 时间:
2020-04-29 18:23:04
阅读次数:
86
通过代理转发后,webapi的swagger无法访问,本质原因是代理后url路径发生变化导致/swagger无法定位到json。 相关issue: issue评论中,一般推荐通过PreSerializeFilters设置BasePath的方案,但在5.x版本中BasePath被删除了。最终选择使用设 ...
分类:
Web程序 时间:
2020-04-29 12:47:09
阅读次数:
131
一、Redis 中的发布订阅功能 与 Redis 发布订阅相关的命令有 6 个,分别如下: PSUBSCRIBE pattern [pattern …]:订阅一个或者多个符合pattern格式的频道 PUBLISH channel message:发布消息到chanel中 PUBSUB subcom ...
分类:
编程语言 时间:
2020-04-29 12:24:00
阅读次数:
61
简述:使用代理服务器发送请求,隐藏自己的真是ip... request = Request(url, headers=headers) 1. 使用urllib.request下的ProxyHandler模块,来加载代理ip,生成对象 2. 使用urllib.request下的build_opener ...
分类:
其他好文 时间:
2020-04-28 15:07:27
阅读次数:
102
promxy 是一个聚合proxy 可以用来实现prometheus 的ha 详细的相关介绍可以参考github 文档,是一个值得尝试的工具,同时VictoriaMetrics对于自己的一些短板 也推荐了此工具,以前也介绍过一个时序数据库cache proxy trickster也是值得试用的 参考 ...