luqiuwen
|
fd09f249b6
|
增加HTTP-Kill/TCP-Kill功能
|
2018-12-12 15:01:18 +06:00 |
|
zhengchao
|
5ebceac0c0
|
http response body位置命中阻断规则时,不调用tfe_http_session_allow_write。
|
2018-12-12 15:01:18 +06:00 |
|
zhengchao
|
76f0efe3cb
|
对新签发或请求certstore的证书计数。
|
2018-12-12 15:01:18 +06:00 |
|
liuyang
|
0e23a077dd
|
1、thread_num通过tfe_proxy_get_work_thread_count()函数获得;2、每个数据包TCP负载最大长度有MTU更改为mtu-sizeof(struct mesa_tcp_hdr) - sizeof(struct mesa_ip4_hdr);
|
2018-12-12 16:40:04 +08:00 |
|
zhengchao
|
6339d74779
|
#100 修复错误的将实体证书加入到证书链的bug。
|
2018-12-09 19:03:20 +06:00 |
|
luqiuwen
|
1d89768160
|
增加对BR压缩编码的支持及对应的单元测试用例
|
2018-12-09 18:02:43 +06:00 |
|
luqiuwen
|
de92efb380
|
Close #99 增加全局传输限速功能,增加passthrough状态下eventcb的错误日志
* 增加全局传输限速功能,可以限制上游、下游的传输速度;
* 增加eventcb中的错误日志,当BEV_EVENT_ERROR发生时,打印错误代码与日志信息。
|
2018-12-08 20:48:19 +06:00 |
|
zhengchao
|
0b76bdf5e5
|
测试通过。
|
2018-12-05 22:56:11 +08:00 |
|
zhengchao
|
4da52a4907
|
增加常见ssl error的计数。
|
2018-12-05 19:58:34 +08:00 |
|
zhengchao
|
0916cb4ad1
|
kafka仍使用标准头文件目录结构
|
2018-12-04 11:58:58 +08:00 |
|
zhengchao
|
73842e7809
|
http业务层链接redis时,从端口范围内随机选一个。
|
2018-12-02 19:33:02 +08:00 |
|
zhengchao
|
a5ca97d91e
|
重构key keeper创建keyring的代码。修复除 #97 外的valgrind definitely lost。
v3.0.5-20181130
|
2018-11-29 19:02:07 +08:00 |
|
zhengchao
|
cc5420d158
|
tfe stream destroy未释放plugin ctx;cJSON结构体错误的使用cjsonfree释放,正确做法是cjson delete。
|
2018-11-29 17:11:31 +08:00 |
|
zhengchao
|
0e47b8d715
|
处理goto导致的编译不通过。
|
2018-11-29 16:39:25 +08:00 |
|
zhengchao
|
f76a8c5ca2
|
修复多处内存泄漏。
|
2018-11-29 16:24:45 +08:00 |
|
zhengchao
|
bcfed2bab1
|
#88 缓存应答消息体构建过程中,连接中断,http session被强制回收,http业务层和http解析层两次对cached_response调用了释放(double free)。
目前业务层在tfe_http_session_response_set后,不再负责释放,解决方案比较dirty。
|
2018-11-29 15:18:12 +08:00 |
|
zhengchao
|
ef7e2831a4
|
#96 修复缓存查询promise_allow_many_successes,但未调用promise_finish。
|
2018-11-29 10:46:46 +08:00 |
|
zhengchao
|
7b82e1a726
|
增加缓存上传最小文件尺寸的限制(默认16KB),增加最大suspend数的限制(默认1百万)
|
2018-11-28 20:32:10 +08:00 |
|
zhengchao
|
c1f9f9813f
|
增加future性能监控的可读性。
|
2018-11-27 21:11:59 +08:00 |
|
zhengchao
|
ae6f0cda87
|
#85 消除ssl stream中的unused variable warning
|
2018-11-26 16:30:51 +08:00 |
|
zhengchao
|
c31f7cbaa7
|
#85 消除部分警告
|
2018-11-26 16:28:23 +08:00 |
|
Lu Qiuwen
|
bd18a66a17
|
修正未初始化的字符串数组,修正ssl_version检查的逻辑。
|
2018-11-26 16:04:03 +08:00 |
|
zhengchao
|
adaed1b36e
|
Merge branch 'trival-keykeeper-cert-cache-switch' of git.mesalab.cn:tango/tfe into trival-keykeeper-cert-cache-switch
v3.0.4-20181126
|
2018-11-26 14:56:04 +08:00 |
|
zhengchao
|
ce9d7fa5eb
|
#64 key keeper增加evdnsbase参数。
避免创建大量dnsbase,耗尽fd。ssl stream/tcp stream/proxy也做了相应修改。
|
2018-11-26 14:55:39 +08:00 |
|
zhengchao
|
35c2559f8a
|
kni对fd异常判空。
|
2018-11-26 14:55:38 +08:00 |
|
zhengchao
|
089499bdd5
|
增加开关,控制是否使用本地证书哈希表。对certstore和debug模式都生效。
|
2018-11-26 14:55:37 +08:00 |
|
zhengchao
|
3b9e5aca91
|
#64 key keeper增加evdnsbase参数。
避免创建大量dnsbase,耗尽fd。ssl stream/tcp stream/proxy也做了相应修改。
|
2018-11-26 14:54:20 +08:00 |
|
zhengchao
|
880ccbf5ce
|
kni对fd异常判空。
|
2018-11-26 12:05:18 +08:00 |
|
zhengchao
|
3f4aaa7e88
|
增加开关,控制是否使用本地证书哈希表。对certstore和debug模式都生效。
|
2018-11-26 11:45:42 +08:00 |
|
Lu Qiuwen
|
4d326c5c52
|
Close #83 去掉resume()中的gc断言,当session在gc中resume时,立即返回等待session销毁。
|
2018-11-26 11:29:23 +08:00 |
|
Lu Qiuwen
|
691e1b83a1
|
#93 增加GZIP解压缩失败后Passthrough整个连接的功能
|
2018-11-26 10:58:10 +08:00 |
|
zhengchao
|
4255024798
|
Merge branch 'feature-cache-upload-cancel' of git.mesalab.cn:tango/tfe into feature-cache-upload-cancel
|
2018-11-25 16:33:34 +08:00 |
|
zhengchao
|
55ec0747a3
|
统一cache的动作名称:write、read、pend。
|
2018-11-25 16:32:35 +08:00 |
|
zhengchao
|
5605bc667f
|
注释max_curl_transfer_timeout_s参数,避免大文件缓存读取失败。
|
2018-11-25 16:23:14 +08:00 |
|
zhangchengwei
|
e38f2b0e46
|
传输速率检测提高到5秒钟
|
2018-11-25 15:44:17 +08:00 |
|
zhangchengwei
|
42906a6ef4
|
HEAD元信息解析JSON获取对象大小使用double
|
2018-11-25 14:59:58 +08:00 |
|
zhengchao
|
62e7f984da
|
增加upload cancel计数。
|
2018-11-25 14:47:20 +08:00 |
|
zhengchao
|
a4bffe353b
|
业务层适配缓存上传取消。
|
2018-11-25 14:14:42 +08:00 |
|
zhengchao
|
b53107e298
|
增加缓存策略的统计日志。
|
2018-11-25 14:08:17 +08:00 |
|
zhangchengwei
|
cb3737d02a
|
流式上传主动cancel时会产生promise_fail回调
|
2018-11-25 13:49:39 +08:00 |
|
zhangchengwei
|
bc1907d2c4
|
cancel update时不回调
|
2018-11-25 13:27:56 +08:00 |
|
zhangchengwei
|
9fcdaa5c3f
|
缓存取消上传+测试用例
|
2018-11-25 13:08:22 +08:00 |
|
zhengchao
|
276a66af8a
|
cache query 也需要调用promise_allow_many_successes
|
2018-11-23 21:20:52 +08:00 |
|
zhangchengwei
|
9fc2a8a0d2
|
支持promise finish。
|
2018-11-23 21:20:51 +08:00 |
|
zhangchengwei
|
313f36c58a
|
配置文件key改小写,英文描述
|
2018-11-23 21:17:59 +08:00 |
|
zhangchengwei
|
82b5b0d103
|
调整expires头部解析
|
2018-11-23 21:17:58 +08:00 |
|
zhangchengwei
|
f83f3a48f9
|
strftime前对struct tm初始化
|
2018-11-23 21:17:57 +08:00 |
|
zhengchao
|
cc049d7f7c
|
实现cancel的逻辑。
|
2018-11-23 21:17:56 +08:00 |
|
zhengchao
|
5d20a52552
|
通过增加promise_finish函数,实现future的cancel。
|
2018-11-23 21:17:55 +08:00 |
|
zhengchao
|
6cd2b8186b
|
业务层适配HTTP解析层垃圾回收 #63 #83 。HTTP业务层在pangu_http_ctx_free中销毁replace、cache相关的http half结构体。
|
2018-11-23 21:17:55 +08:00 |
|