Commit Graph

1108 Commits

Author SHA1 Message Date
zhengchao
4a1b4adf35 缓存业务层适配redis cluster读取文件的接口。 2018-12-21 13:16:36 +06:00
zhangchengwei
9430f699df 为缓存管理,增加独立的SET命令设置Minio URL的超时,以通过redis订阅方式获取超时事件 2018-12-21 11:09:34 +06:00
zhangchengwei
c801523de9 hiredis-vip-0.3.0.zip编译修正 2018-12-21 11:09:33 +06:00
zhangchengwei
a70aa35a3a 将bucketname作为object_key的一部分;修改delete接口加入minioaddr和bucket可选参数。 2018-12-21 11:09:32 +06:00
zhangchengwei
1059af3c72 修复内存泄露 2018-12-21 11:09:31 +06:00
zhangchengwei
d24c57ce85 增加集群版redis作为元信息和对象缓存,去除Minio事件通知的redis元信息获取方式。 2018-12-21 11:09:30 +06:00
zhengchao
08ae82932a 修复解析拆分stream addr string的bug。 2018-12-17 17:14:37 +06:00
zhengchao
2e5c2764ee subscribe ID加载测试通过。 2018-12-17 16:40:28 +06:00
zhengchao
dbeedd3f9c 去掉GMT时间格式的assert,改为if。 2018-12-17 10:07:04 +06:00
zhengchao
3d710accd3 HTTP业务层增加subscribe ID扫描功能。 2018-12-16 22:47:03 +06:00
zhangchengwei
39731c919f 为缓存管理,增加独立的SET命令设置Minio URL的超时,以通过redis订阅方式获取超时事件 2018-12-16 16:49:49 +08:00
zhangchengwei
907a726b15 hiredis-vip-0.3.0.zip编译修正 2018-12-15 21:19:20 +08:00
zhangchengwei
d3c18697e6 将bucketname作为object_key的一部分;修改delete接口加入minioaddr和bucket可选参数。 2018-12-15 13:50:48 +08:00
zhangchengwei
3eb8a54226 修复内存泄露 2018-12-14 19:26:31 +08:00
zhangchengwei
e725b460e2 增加集群版redis作为元信息和对象缓存,去除Minio事件通知的redis元信息获取方式。 2018-12-14 15:07:09 +08:00
luqiuwen
8713da2d81 修正Http-kill位置过完的问题,增加TCP链接摘要日志功能 2018-12-14 03:06:34 +06:00
luqiuwen
8c93f7203d 增加HTTP日志等级配置功能 2018-12-13 23:40:36 +06:00
zhengchao
94242de81c 在http block中,http response body事件调用tfe_http_session_kill关闭会话。 2018-12-12 15:01:18 +06:00
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