You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HTTP module can not call callback while same callback is running. #41182
run this code. it will send response after 15 sec.
make a request and after 2-10 sec make 2nd request to the same url.
It will run the request call back after the 1st request is complete.
How often does it reproduce? Is there a required condition?
It can be reproduce any time.
What is the expected behavior?
It should accept the 2nd request and run the callback immediately.
What do you see instead?
2nd request callback is not firing while first request is not completed.
Additional information
If i send 3rd/4th or more request at the time when first request is pending. After the first request completion all request works as expected. But when all request are completed and we start these steps again, we see the same buggy output.
Activity
Flarna commentedon Dec 15, 2021
I'm not able to reproduce this if I run
curl http://localhost:3000in two separate shells.I guess it's your HTTP client which queues the requests to the same host/port.
Which HTTP client do you use for the requests to above sample server?
hasinoorit commentedon Dec 16, 2021
@Flarna Thank you. it was my http client.