CS23300 - Assignment 2

Due: Tuesday, April 20. 11:59pm.

1. Web Server

Modify your web server created in assignment so that it can handled concurrent connections. The most common way to do this is to use fork() and to handle clients in different processes. You may also use threads.

2. Testing program

Create a testing program that tries to break your web server in various ways including: Called your program 'webtest'. It should work like this:
% webtest 8080
The number is the port number of the web server.

Note: If possible, your test program shouldn't crash. I.e. Just because you're trying to crash the server doesn't mean that the test program should die as well.

handin

Make a tarball
% tar -cf yourname.tar assign2
Copy it to the handin directory:
% cp yourname.tar /stage/classes/current/33300-1/handin/assign2