bringwu

Results 6 comments of bringwu

@AlbumenJ my dubbo version is 3.2.10 too. there is my new test code: api ``` public interface AsyncContext { public CompletableFuture newToken(String token); CompletableFuture sayHi(String name); } ``` provider: ```...

when I test multi times,it also prints ``` 2024-01-17 17:57:05.029 [DubboClientHandler-thread-1] DEBUG c.b.d.s.c.service.AsyncContextTest - ret: 1, testInfo: hi, dubbo 2024-01-17 17:57:05.038 [DubboClientHandler-thread-1] DEBUG c.b.d.s.c.service.AsyncContextTest - ret: 1, testInfo: null 2024-01-17...

@AlbumenJ sorry, I have trouble pushing my repository to GitHub. i had tried many times, but still fail. you can create a maven project to test it. there is the...

> > @AlbumenJ sorry, I have trouble pushing my repository to GitHub. i had tried many times, but still fail. you can create a maven project to test it. >...

> @bringwu In your demo, Dubbo process the result before set attachment. > > ![image](https://private-user-images.githubusercontent.com/9292748/301764830-9f91d080-8889-44e9-8c71-3db4eb519512.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDY4ODE1NDQsIm5iZiI6MTcwNjg4MTI0NCwicGF0aCI6Ii85MjkyNzQ4LzMwMTc2NDgzMC05ZjkxZDA4MC04ODg5LTQ0ZTktOGM3MS0zZGI0ZWI1MTk1MTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMDJUMTM0MDQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDk2NzNjMmU4MjAzZWZmNTVlNjdjODE1YzIxMmRhY2NjODlhY2Y4Y2ZmZDE3NWNjN2QzMzIzNDIxZjU2Y2RhNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.BZoAXjc-cc0Be9lL0XP3RocP4qY3HRglrIg2-q2Ynh8) Add sleep before return to make sure that `serverResponseContext.setAttachment("tokenInfo", token)` has been processed. > >...

This is a terrible solution. I can't believe it was proposed by official personnel. I'll figure out a solution on my own.