Commit Graph

1398 Commits

Author SHA1 Message Date
caoyanan666 4be8594bde
fix(3.2): injvm invoker throws ClassCastException (#14346)
* fix injvm invoker throws ClassCastException

* fix unit test

* fix unit test

* fix NPE

---------

Co-authored-by: caoyanan <caoyanan@growingio.com>
2024-06-20 09:41:36 +08:00
aofall d35d7eb30c
fix: Disable accesslog while the config is false (#14257) 2024-05-31 15:05:16 +08:00
yuanxingke 000db7c40a
fix: when url has param with question mark,parse param wrong (#14235) 2024-05-28 10:55:46 +08:00
Kaiyao Ke 8e2eb332a1
fixed non-idempotent unit tests (#14172) 2024-05-11 00:27:46 +08:00
TomlongTK faefee2cb2
Optimize convertToNumber method (#14159) 2024-05-08 11:51:00 +08:00
aofall ca7151e531
fix: Bytebuf resource leak (#14071) 2024-04-16 14:24:28 +08:00
caoyanan666 95439fb23c
fix(3.2): triple AbstractServerCallListener NPE (#14009)
* fix NPE

* Optimize the handling of exceptions in response

---------

Co-authored-by: caoyanan <caoyanan@growingio.com>
2024-04-07 14:56:35 +08:00
jean pierre Lerbscher 00812ce41c
Fix Sonar issue s2293 The diamond operator ('<>') should be used (#14005) 2024-03-29 11:40:06 +08:00
aofall 36e0cf5490
fix(#13305): RpcContext local address info get null on custom filter (#13751)
* fix(#13305): RpcContext local address info get null on custom filter

* fix ci build failed

* fix ci build failed
2024-03-11 14:00:16 +08:00
suncairong163 69dd801db2
Fix incorrect rest response header and demo double path error (#13789)
* fix dubbo demo xml double path error

* fix  restEasy response  headers formate

* fix content-type judge

* remove unused code
2024-02-28 10:44:29 +08:00
icodening 2cf54f7947
Close the connection but not the client (#13600)
* Close the connection but not the client

* Close the connection but not the client
2024-01-19 18:19:57 +08:00
Bernardo Sauer 7a3ad4ab41
Hotfix rest Chinese encoding (#13617)
* decode uri in RequestFacade

* supplement the unit test

* fix code style violations

* remove duplicate codes

* consider Accept-Charset as enc

* run mvn spotless apply

* add comment

* take weight into consideration

* fix code style violations according sonar

* add DEFAULT_CHARSET

---------

Co-authored-by: chenxinyuan1 <chenxinyuan1@xiaomi.com>
2024-01-19 11:19:35 +08:00
MaruHibiki 966efaab85
do not invoke test method(#13589) (#13601)
* do not invoke test method(#13589)

* Fix style check

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2024-01-10 11:27:48 +08:00
namelessssssssssss e583187aac
Fix triple injvm deep copy issue (#13597) 2024-01-04 20:01:38 +08:00
suncairong163 501a7a7653
resteasy response status code support (#13586)
* resteasy response status code support

* fix code format
2023-12-27 23:18:28 +08:00
宝宝爸师 1368e21d9b
optimize isProtobufClass method impl (#13557)
* optimize isProtobufClass method impl

* build error for unknown reason

* fix build error
2023-12-26 17:31:44 +08:00
G-XD 092a1bd619
release the ByteBuf Fixes #13492 (#13514) 2023-12-20 21:06:23 +08:00
yizhenqiang 365b805026
if SSL auth policy is set to AuthPolicy.NONE, SslServerTlsHandler#decode should remove and return instead of printing the error log. (#13507)
Co-authored-by: yizhenqiang <yizhenqiang@corp.netesase.com>
2023-12-20 20:58:44 +08:00
kaze 5554706256
Fix streamobserver actual type (#13446)
* fix:obtain actual type in StreamObserver.

* format code

---------

Co-authored-by: kaze <kaze-official@foxmail.com>
2023-12-06 10:57:09 +08:00
Albumen Kevin 3e1310bea8
Fix TriRpcStatus not implements Serializable (#13453)
* Fix TriRpcStatus not implements Serializable

* Fix TriRpcStatus not implements Serializable
2023-12-04 12:48:27 +08:00
suncairong163 6e9f337098
Feature/20231114 dubbo 3.2 rest proxy double service method (#13357)
* for proxy service method repeat check

* for proxy service method repeat check

* fix code format

* fix code format

* fix code format

* fix code format

* fix code format

* fix code format

* fix code format

* fix code format

* fix code format

---------

Co-authored-by: huazhongming <crazyhzm@gmail.com>
2023-12-01 15:28:05 +08:00
Albumen Kevin d552cfca51
Fix generic invoke failed for triple (#13442) 2023-12-01 10:25:03 +08:00
Albumen Kevin a8b83823dc
Fix generic type result copy in InjvmInvoker (#13351) 2023-11-16 15:56:25 +08:00
Albumen Kevin 5df704b67c
Fix go away handler (#13376) 2023-11-16 15:26:33 +08:00
TomlongTK b74cf5be3f
Fix async generic method (#13336) 2023-11-15 14:05:17 +08:00
huazhongming 730695a7a2
[3.2]Use spotless to format the code (#13320)
* Use spotless to format the code

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Support develop with JDK 21

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-11-07 15:40:13 +08:00
huazhongming 34fda039b9
Change the log level when the rest entity is changed (#13250)
* Change the log level when the rest entity is changed

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* check if debug level is enabled

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-11-01 19:52:20 +08:00
Albumen Kevin aa631cd362
Revert "Protobuf method not allow override (#13155)" (#13295)
This reverts commit 416374cd78.
2023-11-01 19:34:44 +08:00
JYZ 8a28c78d93
fix: lowerCase header (#13247)
Co-authored-by: 贾彦昭 <jiayanzhao@youzan.com>
2023-10-23 15:51:32 +08:00
xiaolou86 58bf28f8c0
Fix typo in ArgumentCallbackTest (#13233) 2023-10-19 15:27:26 +08:00
Albumen Kevin 0d91d419a8
Remove direct dependency of alibaba dubbo (#13218)
* Remove direct dependency of alibaba dubbo

* disable in ExtensionLoader

* Fix license

* Fix test

* Fix case

* Fix test
2023-10-19 15:25:40 +08:00
宝宝爸师 416374cd78
Protobuf method not allow override (#13155)
* pb method not allow override

* pb method not allow override

* remove wildcard import

* if judgement split into 2 simple

* add pb method override ut&it

* modify pb method override exception msg

* update pb method override test case

* format code

* format code

* optimize import

* Optimize the isProtobufClass method

* fix sonarLint problems

* fix sonar problem

* use ProtobufUtils.class ClassLoader to load Protobuf Message

* format code

* protobufUtils add log

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: earthchen <earthchen1996@gmail.com>
2023-10-19 12:31:59 +08:00
suncairong163 f613d72bd2
jboss @Form support (#13201) 2023-10-19 10:20:52 +08:00
Albumen Kevin 91594eccfa
Enhance logs following up #13228 (#13229) 2023-10-18 11:51:40 +08:00
Albumen Kevin f995ef506c
Fix triple method override (#13224)
* Fix triple method override

* Fix server

* Fix test
2023-10-18 11:39:33 +08:00
Albumen Kevin 02e486a1dc
Fix unable to receive go away frame (#13228)
* Fix unable to receive go away frame

* Rename

* rename
2023-10-18 11:38:57 +08:00
gzhao9 3f07e683a1
Refactor rpc utils test (#13214) 2023-10-18 10:06:35 +08:00
gzhao9 78bb3dc049
Update EchoFilterTest.java (#13215) 2023-10-17 16:55:42 +08:00
JYZ a4a3fd769f
fix: set default value for accept (#13199)
Co-authored-by: 贾彦昭 <jiayanzhao@youzan.com>
2023-10-14 11:14:34 +08:00
TomlongTK c10d95b56a
Fix RejectException (#12950)
* fix RejectException null

* fix reference

* use isTerminated judge Executor

* use isShutdown judge Executor

---------

Co-authored-by: earthchen <earthchen1996@gmail.com>
2023-10-11 23:32:30 +08:00
TomlongTK 069fd5e1ce
Fix triple client stream executor (#13178)
* Fix error stream executor

* add ping pong for tri protocol (#12955)

* add ping pong for tri protocol

* add ping pong for tri protocol

* add ping pong for tri protocol

* add ping pong for tri protocol

* Revert "add ping pong for tri protocol (#12955)"

This reverts commit 5a3be17bf1.

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: icodening <cleverbn96@gmail.com>
2023-10-11 23:23:25 +08:00
icodening b84c1386bb
add ping pong for tri protocol (#12955)
* add ping pong for tri protocol

* add ping pong for tri protocol

* add ping pong for tri protocol

* add ping pong for tri protocol
2023-10-11 11:17:41 +08:00
TomlongTK 3ca35045a0
Release ByteBuf when handle onData failed (#13102)
* Release ByteBuf when handle onData failed

* Runnable with clean function

* Fix license

* Release ByteBuf in onData method, and refactor some sonar issue.

* Remove unused dependency

---------

Co-authored-by: earthchen <earthchen1996@gmail.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-10-10 10:28:15 +08:00
gzhao9 49dd3d0236
Update StubInvocationUtilTest.java (#13174) 2023-10-10 10:12:19 +08:00
Albumen Kevin 5aa99c526f
Fix invoker ignored to destroy when unlock failed (#13123)
* Fix invoker ignored to destroy when unlock failed

* update code
2023-09-26 11:26:04 +08:00
Albumen Kevin da5c7ed33d
Fix generic array being changed (#13103) 2023-09-25 09:40:18 +08:00
Albumen Kevin 0fb1e4c4c6
Enhance unit test cases from scheduled tasks (#13099) 2023-09-22 20:23:32 +08:00
TomlongTK 2697652e74
Fix concurrency problem when receive ResetFrame and HeadFrame (#13062) 2023-09-20 10:19:16 +08:00
xuziheng edaaa16121
Add volatile on destroyed filed ensure visibility (#13061)
Co-authored-by: ningle <xxuziheng@163.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-09-20 09:45:28 +08:00
shj1995 ff561616e5
Fix Jakarta exception being casted in ExceptionFilter (#13054)
Co-authored-by: 石豪杰 <haojie.shi@i-hygeia.com>
2023-09-18 11:40:06 +08:00