<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cfws, branch c-rewrite</title>
<subtitle>A simple HTTP server specialized for local testing
</subtitle>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/'/>
<entry>
<title>Send the proper MIME type when serving static files</title>
<updated>2023-06-01T16:09:04+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-06-01T16:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=dff6b9583c4cde87b7275f8a8066300004525d68'/>
<id>dff6b9583c4cde87b7275f8a8066300004525d68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow query strings to be read by PHP scripts</title>
<updated>2023-06-01T16:08:34+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-06-01T15:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=6370f5e0bf1e23fe87dc08aaf1a01b48bd142abc'/>
<id>6370f5e0bf1e23fe87dc08aaf1a01b48bd142abc</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse query string from HTTP requests</title>
<updated>2023-06-01T15:47:02+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-06-01T15:38:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=02a542644617f65cf7285f0facebc827fd036b45'/>
<id>02a542644617f65cf7285f0facebc827fd036b45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move request handling code out of net.c and into the main file</title>
<updated>2023-05-30T22:18:31+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-05-30T22:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=40b66da398695590f82594bb92fd824bfdb44836'/>
<id>40b66da398695590f82594bb92fd824bfdb44836</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reads from files or pipes into a buffer instead of char-by-char</title>
<updated>2023-05-30T21:56:58+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-05-30T21:56:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=51c9a57339b499d3c0210dac26537ca14a01f995'/>
<id>51c9a57339b499d3c0210dac26537ca14a01f995</id>
<content type='text'>
This makes it possible to load image files, and doesn't spam write() as
much.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it possible to load image files, and doesn't spam write() as
much.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor response building code</title>
<updated>2023-05-30T18:31:34+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-05-30T18:31:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=8dbdf132ea82a567d7cef856469fd47c511b4191'/>
<id>8dbdf132ea82a567d7cef856469fd47c511b4191</id>
<content type='text'>
This new strategy involves finding the local file path for the given
URI, determining what method to use to fulfill the request (read file
from disk, use php-cgi, or error), then it writes the response to the
client socket.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This new strategy involves finding the local file path for the given
URI, determining what method to use to fulfill the request (read file
from disk, use php-cgi, or error), then it writes the response to the
client socket.
</pre>
</div>
</content>
</entry>
<entry>
<title>Hacks to make it possible to serve PHP pages</title>
<updated>2023-05-30T04:23:21+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-05-30T04:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=775c4157994ee0ebe9bd951a99bc5d7558128ba4'/>
<id>775c4157994ee0ebe9bd951a99bc5d7558128ba4</id>
<content type='text'>
The most significant change is that the functions for reading a file and
such write directly to the socket instead of attempting to fill buffers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The most significant change is that the functions for reading a file and
such write directly to the socket instead of attempting to fill buffers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't force C'89 standard</title>
<updated>2023-05-30T04:23:21+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-05-30T04:11:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=fca0a3d5d8ea1e9af4411ef03181b4c23534474b'/>
<id>fca0a3d5d8ea1e9af4411ef03181b4c23534474b</id>
<content type='text'>
There are a bunch of helpful standard library functions that I am
missing out on (most notably popen)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are a bunch of helpful standard library functions that I am
missing out on (most notably popen)
</pre>
</div>
</content>
</entry>
<entry>
<title>Split cfws.c into multiple files</title>
<updated>2023-05-27T18:08:00+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-05-27T18:08:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=beb8db73aadbd7d0464f1530ef86c961bc1aa2a0'/>
<id>beb8db73aadbd7d0464f1530ef86c961bc1aa2a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Vim tags and swap files to .gitignore</title>
<updated>2023-05-27T17:52:44+00:00</updated>
<author>
<name>cflip</name>
<email>cflip@cflip.net</email>
</author>
<published>2023-05-27T17:52:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cflip.net/cfws/commit/?id=b0f6f511e23117965e80c1c3516dee2402b81dc5'/>
<id>b0f6f511e23117965e80c1c3516dee2402b81dc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
