summaryrefslogtreecommitdiff
path: root/cfws.c
AgeCommit message (Collapse)Author
2023-06-08Support POST requests for PHP scriptscflip
This makes it possible to both read from and write to the standard I/O in php-cgi so that the request body can be written to its stdin and the script can access POST request data. Unfortunately, this isn't quite enough for the user login on the cflip forum to work, since cookies (and other HTTP headers) aren't passed to the script yet.
2023-06-06Ignore SIGPIPE signals when writing to a closed socketcflip
2023-06-03Respond with 501 Not Implemented for unknown request methodscflip
2023-06-01Allow query strings to be read by PHP scriptscflip
php-cgi is now run without any command line arguments and information such as the script filename and the query string are passed in via environment variables.
2023-05-30Move request handling code out of net.c and into the main filecflip
2023-05-27Split cfws.c into multiple filescflip
2023-05-27Load and serve files from the filesystemcflip
2023-05-08Begin rewriting cfws in Ccflip