Short delays in sending TCP streams can cause HTTP parsing issues #1807
Replies: 4 comments 2 replies
-
Is the server written by Drogon? |
Beta Was this translation helpful? Give feedback.
-
I'll check it out later |
Beta Was this translation helpful? Give feedback.
-
I can't reproduce this issue, what operating system is your server running on? |
Beta Was this translation helpful? Give feedback.
-
I don't have a Kubernetes environment, but when I test the server running in Docker, everything works fine. You can try capturing packets on your Kubernetes node to see if all request data is being delivered. |
Beta Was this translation helpful? Give feedback.
-
All need is a simple HTTP demo to receive POST requests. Then use the following Python code to send a request to reproduce the problem:
The script will get
But if we remove this short sleep, everything will return to normal.
The script will get
Has anyone encountered similar problems? I'm a newbie in C++ and don't know how to solve this problem.
Beta Was this translation helpful? Give feedback.
All reactions