Skip to content
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

Open
tshradheya opened this issue Nov 28, 2017 · 0 comments
Open

Assignment 1 Bug #2

tshradheya opened this issue Nov 28, 2017 · 0 comments

Comments

@tshradheya
Copy link
Owner

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant