-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assignment 1 Bug #2
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In assignment 1 the WebServer will not be able to handle multiple requests on the same connection. However it will work on browser as parallel connections will be made.
E.g.
GET /demo.html HTTP/1.1\r\nHost: localhost\r\n\r\nGET /demo.html HTTP/1.1\r\nHost: localhost\r\n\r\n" | netcat localhost <port_your_server_is_running>
will only return 1 response when two are expected.An easy fix would be to make the recursive function in the form of an iterative loop. Too lazy to fix now :P
The text was updated successfully, but these errors were encountered: