Skip to content

Conversation

@joanhey
Copy link
Contributor

@joanhey joanhey commented Jun 28, 2023

I found the problem with the Feature Tests in Adapterman.

The test stop, and never finish, when testing a bad request.
The problem is that the client is waiting for the body or close.

Testing direct with curl:
image
and wait here, till I press Ctrl+c

Now:
image

The curios thing is that the 400 Bad Request is Unit tested in this repo without problems.
For that we need more Feature Tests.

All the Adapterman Feature Tests work with Workerman.
When they are more polished, I'll create a PR to add it to Workerman.

Update: perhaps will be better to close the connection, like you want.

@walkor walkor merged commit 4bde503 into walkor:master Jun 28, 2023
@walkor
Copy link
Owner

walkor commented Jun 28, 2023

Thanks

@joanhey joanhey deleted the fix-400-bad-request branch June 28, 2023 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants