mosn icon indicating copy to clipboard operation
mosn copied to clipboard

The Cloud-Native Network Proxy Platform

Results 207 mosn issues
Sort by recently updated
recently updated
newest added

### Issues associated with this PR Your PR should present related issues you want to solve. ### Solutions You should show your solutions about the issues in your PR, including...

cla:yes

### Your question When I open mosn project by vscode, it prints some error : 'main redeclared in this block'. I searched for _resolutions:_ [https://code-maven.com/slides/golang/separate-directories](https://code-maven.com/slides/golang/separate-directories) or [https://forum.golangbridge.org/t/main-redeclared-in-this-block-warning/16231](https://forum.golangbridge.org/t/main-redeclared-in-this-block-warning/16231) They told me...

### The New Feature Right now, HTTP trailers are not yet supported for reasons including mosn using an old version of fasthttp. ### Your scenes Without full support for trailers,...

使用MOSN解析rocketmq协议时发现rocketmq有反向push的请求(就是rocketmq-broker主动发起请求到rocketmq-consumer),但是MOSN不支持此类协议,如果我实现这样能力的话,需要如何改造MOSN呢?

### Describe the bug When there are many 502 or 504, it is found that the clientStreamConnection goroutine under the http1 protocol cannot end normally. For details, you can see...

viewcore corefile --exe bin_file objref ref.bt 用viewcore生成引用关系图的时候报错 panic: can't find type runtime.special

https://github.com/mosn/mosn/blob/45d911be1b39b0cd043002d95d7249e2550f7fd7/pkg/stream/xprotocol/keepalive.go#L228-L231 因为是每次连接读超时的时候进行一个sendKeepAlive,那么下面这种场景会有问题: 1. 连接本身空闲了一段时间,快到关闭的时间了 2. 这时候转发了一个请求到 upstream 3. 这时候刚好触发了最后一次读超时,那么就会导致该连接直接就关闭了。会返回 ConnectedFailure 事件 4. 默认的 retrystate 正好配置了ConnectedFailure进行重试,那么会新建连接再发送一次请求 这种情况会导致出现两次请求,导致触发幂等检测,同时这种空闲检测关闭是不合理的

### Your question 如果是一个双向流的grpc 第一次会拦截 第二次时stream.recData 不为nil 不会进行拦截处理 有没有什么处理方式 https://github.com/mosn/mosn/blob/b088f7665f1e7128c4a581ae034901ca904621b1/pkg/stream/http2/stream.go#L386 ### Environment - MOSN last ### Logs - Paste the logs you see.

### Your question //go:build BabaSSL // +build BabaSSL // #cgo linux,!arm,!arm64 CFLAGS: -I/usr/local/BabaSSL/linux_BabaSSL_lib/include -Wno-deprecated-declarations // #cgo linux,!arm,!arm64 LDFLAGS: -L/usr/local/BabaSSL/linux_BabaSSL_lib/lib -lssl -lcrypto -ldl -lpthread 麻烦请问编译国密特性时,引用的BabaSSL库现在更新为了Tongsuo,是否需要修改库文件引用路径呢

### The New Feature 通过定时器,快速的发送 rpc 心跳请求,用于快速检测 rpc 长连接是否健康,如果不健康就快速关闭掉此连接,主要用于快读兜底恢复 ### Your scenes mesh rpc 微服务场景中往往是: ``` +---------------------------------------------------------------------------------------+ | | | +----------------------------+ +---------------------------+ | | | | | | | |...