58 Star 430 Fork 111

smartboot / smart-http

2024-03-24 14:28
351975 smartdms 1578921064 三刀
  1. 实现WebSocket close规范(ISSUE:#I97ITR:smart-http websocket server 没有处理关闭码,直接管理socket 导致客户端关闭异常
  2. 实现ChunkedInputStream#read()接口。(ISSUE:#I98RR7:springcloud微服务架构内置tomcat替换为smart后非GET请求报错
  3. 清理HttpUtils#getString方法。
  4. BufferOutputStream新增异步 write 能力。
  5. 新增 WafException 用于区分请求异常类型。
  6. 移除RequestAttachment。
最后提交信息为: 1.4.1
2024-02-28 19:04
351975 smartdms 1578921064 三刀
  1. 修复 vert.x websocket client 无法连接的问题(ISSUE:I93SX9)
  2. 优化日志模块,支持占位符{}
最后提交信息为: 1.4.0
2024-02-15 18:34
351975 smartdms 1578921064 三刀
  1. 增强配置文件解析工具 ParamReflect
  2. restful 模块适配代码混淆工具 proguard
  3. httpClient 支持 multipart/form-data 编码
  4. smart-socket 升级至 1.5.42
最后提交信息为: 1.3.9
2023-12-03 17:40
351975 smartdms 1578921064 三刀

一点小小的优化

最后提交信息为: 1.3.6
2023-10-27 19:20
351975 smartdms 1578921064 三刀
  1. HTTP Server 新增 idleTimeout 配置参数。通过集成 IdleStatePlugin 插件,实现闲置连接超时自动关闭,默认:60秒。
  2. restful 模块提供异步接口能力,大幅提升 IO 密集型场景的并发能力。
  3. 修复链路复用时 remainingThreshold 未被重置的问题。
  4. 升级 smart-socket 至 1.5.36。
最后提交信息为: 集成IdleStatePlugin插件
2023-10-19 14:25
351975 smartdms 1578921064 三刀
  1. restful 模块新增 commons-fileupload 的适配,提供文件上传的处理能力。
  2. 新增 waf 模块,提升 HTTP 服务安全性。
最后提交信息为: 新增waf功能
2023-10-14 17:26
351975 smartdms 1578921064 三刀

restful模块新增 Interceptor 注解,实现对匹配 URL 请求的拦截处理。

最后提交信息为: 1.3.3
2023-09-23 10:06
351975 smartdms 1578921064 三刀
  1. 升级 smart-socket 至 1.5.34
  2. 优化 HttpClient 连接复用稳定性。
最后提交信息为: 1.3.1
2023-08-28 19:40
351975 smartdms 1578921064 三刀
  • 改进 HttpClient 的 chunked 判定依据。
  • 移除默认的 gzip 适配,改由用户自主编码实现。
  • 新增 smart-http-restful-mybatis 模块,支持 Mapper 的 Bean 实例化注入。
  • smart-http-restufl 支持自定义注解的 Bean 实例化。
  • smart-http-restufl 支持反序列化 JSON 数组的请求体。
  • 优化 Http 服务异常响应处理逻辑。
  • 新增单元测试用例。
  • smart-socket 升级至 1.5.33
最后提交信息为: 1.3.0
2023-07-29 11:28
351975 smartdms 1578921064 三刀
  1. HttpResponseProtocol提供单例,以供多HttpClient复用。
  2. 修复HttpClient短连接复用时导致MessageProcessor插件被重复注册的问题。
  3. 优化InvocationTargetException异常时的信息露出。
  4. 升级smart-socket至1.5.32
最后提交信息为: 1.2.9
2023-07-18 19:12
351975 smartdms 1578921064 三刀
  1. restful模块支持@PostConstruct和@PreDestroy,用法同Spring一致。
  2. websocket实现ping/pong规范。
  3. 修复WebSocketRouteHandler路由匹配之后willHeaderComplete未执行的问题。
  4. 改进http服务异常响应页面的提示信息
  5. 重构websocket编码算法
  6. WebSocketRequest开放getRequestURL、isSecure接口
  7. 支持设置Http请求最大报文限制,提升服务安全性。
最后提交信息为: restful支持PostConstruct、PreDestroy
2023-07-12 19:26
351975 smartdms 1578921064 三刀

本次更新为smart-http-restful模块带来三项新特性,分别为:

  • 请求参数解析
  • 包路径扫描
  • 依赖注入

发版详情:https://mp.weixin.qq.com/s/NUP_A7TBW-GF_Rp4qQ-JgA

最后提交信息为: 优化代码
2023-06-27 20:35
351975 smartdms 1578921064 三刀
  1. smart-socket升级至1.5.31
  2. restful模块支持jar包中的类扫描
最后提交信息为: 1.2.6
2023-06-24 18:19
351975 smartdms 1578921064 三刀

restful模块支持依赖注入

最后提交信息为: 1.2.5
2023-06-17 19:40
351975 smartdms 1578921064 三刀

修复websocket编码bug

最后提交信息为: 1.2.4
2023-06-09 23:20
351975 smartdms 1578921064 三刀
  1. 改进HttpClient对于Content-Length和Content_Type的编码方式
  2. 改进HttpClient对于链路复用的支持。
  3. 提升Chunked编码方式的通信稳定性。
  4. smart-sockt升级至1.5.30
  5. 补充单元测试用例
最后提交信息为: 1.2.3
2023-06-07 22:08
351975 smartdms 1578921064 三刀
  1. 升级smart-socket。
  2. httpClient 支持chunked提交请求
最后提交信息为: 1.2.2
2023-05-13 16:51
351975 smartdms 1578921064 三刀
  1. 升级smart-socket。
  2. 修复HttpStaticResourceHandler文件输出因ByteBuffer复用导致数据被覆盖问题。
  3. 移除HttpResponse#getCharacterEncoding和HttpResponse#setCharacterEncoding
最后提交信息为: !22smart-http v1.2.1
2023-05-07 20:03
351975 smartdms 1578921064 三刀
  1. 升级smart-socket至1.5.27
  2. 更新Readme中的示例程序。
  3. 重构http解码器的接口设计。
  4. HTTP解码异常时抛出的异常由RuntimeException调整成DecoderException
  5. HttpRequest新增isSecure接口,用于识别当前是否启用https
  6. 提供HTTP解码算法基准性能测试的的jmh程序。
  7. 合并社区PR:升级fastjson版本到1.2.83,1.2.83版本之前存在代码执行漏洞风险,CVE-2022-25845

发版详情:https://mp.weixin.qq.com/s/zMJixRhCQ4ezZfIezj5P7Q

最后提交信息为: !21smart-mqtt v1.2.0
2023-03-04 12:18
351975 smartdms 1578921064 三刀
  1. smart-socket 升级至 1.5.25
  2. 更新readme.md代码示例。
  3. 重构编解码过程中的附件模型
  4. Http Server 支持引入共享线程资源组。
最后提交信息为: !19smart-http v1.1.22
Java
1
https://gitee.com/smartboot/smart-http.git
git@gitee.com:smartboot/smart-http.git
smartboot
smart-http
smart-http

搜索帮助