Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

add java isocket-nio to test,thanks - #6674

Merged
NateBrady23 merged 2 commits into
TechEmpower:masterfrom
longzl:master
Jun 28, 2021
Merged

NateBrady23 merged 2 commits into
TechEmpower:masterfrom
longzl:master

Conversation

@longzl

@longzl longzl commented Jun 23, 2021

Copy link
Copy Markdown
Contributor

I have run test and passed.

./tfb --mode verify --test isocket-nio
image

httpResponseEntity.setHeader("Date", dateFormat.format(new Date()));
httpResponseEntity.body = "Hello, World!";
session.write(httpResponseEntity);
} else if (httpRequestEntity.url.contains("/json")) {

@NateBrady23 NateBrady23 Jun 27, 2021 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Message object needs to be instantiated here every time a /json request is made. Please move Message message = new Message("Hello, World!"); here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global message has been removed and instance message every request

@NateBrady23
NateBrady23 merged commit 94f74ee into TechEmpower:master Jun 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants