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
This problem seems to have been solved once. But it reappeared. #3488
Current Behavior
I've written an HTTP server in Python that delays for 2 seconds upon receiving each request.
fromhttp.serverimportHTTPServer, BaseHTTPRequestHandler, ThreadingHTTPServerimporttimeclassSimpleHTTPRequestHandler(BaseHTTPRequestHandler):
defdo_GET(self):
print(f"Handling GET request for {self.path}")
time.sleep(2)
self.send_response(200)
self.send_header('Content-type', 'text/html')
self.end_headers()
self.wfile.write(b"Hello, world! This is a delayed response.")
port=9999server_address= ('', port)
httpd=ThreadingHTTPServer(server_address, SimpleHTTPRequestHandler)
print(f"Starting server on port {port}...")
httpd.serve_forever()
Create a file "race.yaml" and populate it with the following template:
Run nuclei -duc -t /tmp/race.yaml -u http://127.0.0.1:9999
The request log for the HTTP server is as follows:
When v2.9.x and v3.1.x are used, the server receives the first two requests at the same time. However, when v3.2.x and v3.3.x are used, the interval between the three requests is 2 seconds.
Expected Behavior
The first two requests should be sent at the same time.
Is there an existing issue for this?
This problem seems to have been solved once. But it reappeared. #3488
Current Behavior
I've written an HTTP server in Python that delays for 2 seconds upon receiving each request.
Create a file "race.yaml" and populate it with the following template:
Run
nuclei -duc -t /tmp/race.yaml -u http://127.0.0.1:9999
The request log for the HTTP server is as follows:
When v2.9.x and v3.1.x are used, the server receives the first two requests at the same time. However, when v3.2.x and v3.3.x are used, the interval between the three requests is 2 seconds.
Expected Behavior
The first two requests should be sent at the same time.
Steps To Reproduce
nuclei -duc -t /tmp/race.yaml -u http://127.0.0.1:9999
Relevant log output
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: