Skip to content

testing/eval-test-site#101

Merged
iboukhss merged 5 commits intodevfrom
feature/run-42-tester
Jan 16, 2026
Merged

testing/eval-test-site#101
iboukhss merged 5 commits intodevfrom
feature/run-42-tester

Conversation

@StokesAsselborn
Copy link
Collaborator

No description provided.

@StokesAsselborn StokesAsselborn force-pushed the feature/run-42-tester branch 3 times, most recently from 4fa78f3 to 3c26b42 Compare January 13, 2026 15:32
@StokesAsselborn
Copy link
Collaborator Author

To test the upload :

curl -X POST http://localhost:8080/upload/hello.txt \
     -H "Content-Type: text/plain" \
     --data "some content xy"

@StokesAsselborn
Copy link
Collaborator Author

Testing cgi :

curl -i "http://localhost:8080/cgi-bin/env.bla?name=dennis"
curl -i "http://localhost:8080/cgi-py/cgi_upper.py?name=dennis"

@StokesAsselborn
Copy link
Collaborator Author

StokesAsselborn commented Jan 13, 2026

To do :

  1. SFH : fix is_done() via bool
  2. UploadHandler: fix is_done() via bool
  3. UploadHandler: keep track of body written < MAX_UPLOAD_SIZE
  4. Check for memory and fd leaks @iboukhss: I have tested with valgrind in depth and didn't see anything
  5. Fix GET request on cgi .py (ext not parsed correctly) Fixed in Feature/final evaluation #109
  6. Test POST for CGI
  7. Test CGI with infinite loop (timeout ?)
  8. Siege
  9. Test multiple servers in one config Done in Feature/final evaluation #109

@iboukhss
Copy link
Owner

iboukhss commented Jan 14, 2026

So, I have let go of trying to make CGI work atm in #109

I am going to work on the final website a bit, I will add config file selection at the very end when pushing to vogshpere

NOTE

Ce qui faut implementer dans le site : 

1. Redirection ? (exemple GET sur POST_BODY redirect sur upload
2. Autoindex (par exemple pour le dossier upload) ?
3. Tester les POST pour le CGI bash et tester GET + POST pour Python (faudre fixer l'extension parsing)

@iboukhss iboukhss merged commit 9c85f7b into dev Jan 16, 2026
1 check failed
@iboukhss iboukhss deleted the feature/run-42-tester branch January 16, 2026 10:32
@iboukhss
Copy link
Owner

I didn't want to close this PR but GitHub did.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants