Browse Source

feat: subject

pull/1348/head
zainabdnaya 2 years ago
parent
commit
6f6b410fbf
  1. 6
      subjects/localhost/README.md
  2. 2
      subjects/localhost/audit/README.md

6
subjects/localhost/README.md

@ -23,9 +23,9 @@ Lisning on [IP]:[PORT2]
- You can use `NGINX` to compare headers and answer behaviors with your server
- You must manage at least [`GET`, `POST`, `DELETE`] methods.
- You must handle customization errors **(Binding error, default page error...)**
- You must create error page at leat for [400,311,403,404,405,413]
- You must execute CGI based on certain file extensions [`.php`,`.py`,...]
- The `CGI` should be run in the correct directory for relative path file access.
- You must create error page at least for [400,311,403,404,405,413]
- You must execute CGI based on certain file extensions such us [`.php`,`.py`,...]
- The `CGI` should run in the correct directory for relative path file access.
- You must use the enverement paramatre of cgi.
- Your server must receive a request from the browser and send a response using the HTTP header and body
- Your server must call `select` function (or equivalent function) one time only

2
subjects/localhost/audit/README.md

@ -8,7 +8,7 @@
###### Ask if they use only one select (or equivalent) and how they've managed the server accept and the client read/write.
###### There should be only one read or one write per client per select (or equivalent). Ask to show you the code that goes from the select (or equivalent) to the read and write of a client.
###### Search for all [read,recv,write,send] and check if the returned value is well checked. (checking only -1 or 0 is not good you should check both)
###### Check return value for O/I functions [read,recv,write,send] . is the auditee checking for `-1` and `0` at the same time.
###### Check return value for O/I functions [read,recv,write,send] . is the audite checking for `-1` and `0` at the same time.
###### Writing or reading ANY file descriptor without going through the select (or equivalent) is strictly
### Configuration

Loading…
Cancel
Save