Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
40d7c41
[#4873] Support for SSE interface RPC calls and register SSE schema
chengyouling Jul 8, 2025
14c05e7
When reconnecting, refresh the eventId based on the last-event-id and…
chengyouling Jul 23, 2025
7eda5d9
fixed test problems
chengyouling Jul 23, 2025
517480b
fixed style problem
chengyouling Jul 23, 2025
500e8b3
add testcase
chengyouling Jul 24, 2025
5f3a593
add testcase
chengyouling Jul 24, 2025
a7135bd
only test rest
chengyouling Jul 24, 2025
58050a5
test reactive testcase
chengyouling Jul 25, 2025
45625a0
move testcase to spring-boot-springmvc
chengyouling Jul 25, 2025
af92830
for test
chengyouling Jul 25, 2025
0332c62
adjust Flowable result
chengyouling Jul 29, 2025
0cd0c47
fixed testcase
chengyouling Jul 29, 2025
0e3e646
adjust flowable response decode
chengyouling Jul 30, 2025
9f7a9dc
for test
chengyouling Jul 30, 2025
7076c84
add flushBuffer
chengyouling Jul 30, 2025
76da23e
change using flushStreamBuffer for test
chengyouling Jul 30, 2025
2b32da4
fixed testcase
chengyouling Jul 30, 2025
255dee9
add response parsing
chengyouling Jul 31, 2025
7fb5f75
fixed Multiple transfer-encoding=chunked in Rest Over Servlet
chengyouling Jul 31, 2025
cfbe610
fixed review options,compatible use \r\n \n \r,add PublisherProduce…
chengyouling Aug 12, 2025
10255be
delete not use EVENTS_MEDIA_TYPE
chengyouling Aug 12, 2025
1adfc0b
add warn for encoding
chengyouling Aug 13, 2025
4c2c34e
adjust eventId to id, resolution concurrency using writeIndex problem
chengyouling Aug 14, 2025
63e6c1a
Compatibility settings for multiple data
chengyouling Aug 15, 2025
0812b8b
Compatible with both client and server, addressing scenarios of incon…
chengyouling Aug 18, 2025
e38bb52
add catch for subscribe
chengyouling Aug 18, 2025
0da8280
Compatible with both packet aggregation and packet fragmentation scen…
chengyouling Aug 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up jdk
uses: actions/setup-java@v3
with:
java-version: '21'
java-version: '17'
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ protected void onExecuteHttpServerFiltersFinish(Response response, Throwable e)

if (!(response.getResult() instanceof ServerWebSocket)) {
try {
responseEx.flushBuffer();
responseEx.endResponse();
} catch (Throwable flushException) {
LOGGER.error("Failed to flush rest response, operation:{}, request uri:{}",
getMicroserviceQualifiedName(), requestEx.getRequestURI(), flushException);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,24 @@ protected Invocation sendCreateInvocationException(Throwable throwable) {
requestEx.getRequestURI(), e);
}

flushResponse("UNKNOWN_OPERATION");
endResponse("UNKNOWN_OPERATION");
return null;
}

@Override
protected void sendResponse(Invocation invocation, Response response) {
if (isDownloadFileResponseType(invocation, response)) {
responseEx.sendPart(PartUtils.getSinglePart(null, response.getResult()))
.whenComplete((r, e) -> flushResponse(invocation.getMicroserviceQualifiedName()));
.whenComplete((r, e) -> endResponse(invocation.getMicroserviceQualifiedName()));
return;
}

flushResponse(invocation.getMicroserviceQualifiedName());
endResponse(invocation.getMicroserviceQualifiedName());
}

private void flushResponse(String operationName) {
private void endResponse(String operationName) {
try {
responseEx.flushBuffer();
responseEx.endResponse();
} catch (Throwable flushException) {
LOGGER.error("Failed to flush rest response, operation:{}, request uri:{}",
operationName, requestEx.getRequestURI(), flushException);
Expand Down
Loading
Loading