Changes between Version 18 and Version 19 of NikySandbox/WebExample
- Timestamp:
- 07/06/12 07:15:47 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NikySandbox/WebExample
v18 v19 133 133 * Only a single connection is established for all retrieved objects, meaning that slow start is only incurred once (assuming that the pipeline is kept full) and that the overhead of establishing and tearing down a TCP connection is also only incurred once. 134 134 * However, all objects must be retrieved in serial in HTTP/1.1 meaning that some of the benefits of parallelism are lost. 135 2. Submit the code of your webserver. Make the server document directory ( the directory which the webserver uses to serve files) a command line option. The command line option must be specified as -document_root. Make the port that the server listens on a command line option. The option must be specified as -port . Thus, I should be able to run your server as135 2. Submit the code of your webserver. Make the server document directory (the directory which the webserver uses to serve files) a command line option. The command line option must be specified as -document_root. Make the port that the server listens on a command line option. The option must be specified as -port . Thus, I should be able to run your server as 136 136 {{{ 137 137 $ ./server -document_root "/tmp/assignment1_files" -port 8888