<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9front.git/rc/bin/rc-httpd, branch front</title>
<subtitle>my patches for 9front; forked from http://git.9front.org/plan9front/plan9front/HEAD/info.html
</subtitle>
<id>https://git.vlhl.dev/lizzy/sys/plan9front.git/atom?h=front</id>
<link rel='self' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/atom?h=front'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/'/>
<updated>2020-08-02T09:00:01+00:00</updated>
<entry>
<title>rc-httpd: fix invalid test(1) invocation in dir-index</title>
<updated>2020-08-02T09:00:01+00:00</updated>
<author>
<name>Alex Musolino</name>
<email>alex@musolino.id.au</email>
</author>
<published>2020-08-02T09:00:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=cf69bb920a53a2cbecc42e4299b7ed12818d39dc'/>
<id>urn:sha1:cf69bb920a53a2cbecc42e4299b7ed12818d39dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rc-httpd: append carriage return to content-length header</title>
<updated>2020-01-07T06:58:59+00:00</updated>
<author>
<name>Alex Musolino</name>
<email>alex@musolino.id.au</email>
</author>
<published>2020-01-07T06:58:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=c43700f5690722e4226bedf07f457a206dc7b2d1'/>
<id>urn:sha1:c43700f5690722e4226bedf07f457a206dc7b2d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rc-httpd: serve markdown with text/plain content-type</title>
<updated>2019-06-20T06:56:03+00:00</updated>
<author>
<name>Alex Musolino</name>
<email>alex@musolino.id.au</email>
</author>
<published>2019-06-20T06:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=4ff5a4febb8a3bf7f58fcf8524761d2c3565778f'/>
<id>urn:sha1:4ff5a4febb8a3bf7f58fcf8524761d2c3565778f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rc-httpd: set charset=utf-8 for all text/* content types</title>
<updated>2019-06-17T03:47:16+00:00</updated>
<author>
<name>Alex Musolino</name>
<email>alex@musolino.id.au</email>
</author>
<published>2019-06-17T03:47:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=3a3eb0434c3e5bc98b05a4a0a9752a1743b32512'/>
<id>urn:sha1:3a3eb0434c3e5bc98b05a4a0a9752a1743b32512</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rc-httpd: only emit charset option for text/plain content type</title>
<updated>2019-06-17T03:43:40+00:00</updated>
<author>
<name>Alex Musolino</name>
<email>alex@musolino.id.au</email>
</author>
<published>2019-06-17T03:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=8648e065346f354c354789fddf0e463bbeb529cb'/>
<id>urn:sha1:8648e065346f354c354789fddf0e463bbeb529cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rc-httpd(8): avoid duplicate log output in dir-index handler</title>
<updated>2019-06-05T06:34:50+00:00</updated>
<author>
<name>Alex Musolino</name>
<email>alex@musolino.id.au</email>
</author>
<published>2019-06-05T06:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=78c7cd0c010c1c90dbc3358c2710bddaed379ce9'/>
<id>urn:sha1:78c7cd0c010c1c90dbc3358c2710bddaed379ce9</id>
<content type='text'>
Delay calling do_log until just before emitting the response.  This avoids
calling do_log before potentially handing control to the static-index
handler, which also calls do_log.
</content>
</entry>
<entry>
<title>rc-httpd: cleanup cgi handler</title>
<updated>2015-06-02T14:56:19+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@felloff.net</email>
</author>
<published>2015-06-02T14:56:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=1a1863e5dc8913e47b16e44499a3cc735aead394'/>
<id>urn:sha1:1a1863e5dc8913e47b16e44499a3cc735aead394</id>
<content type='text'>
- avoid silly stats and checks for $cgi_dir, just use status
  from builtin cd.

- log proper http status code from the cgi script
</content>
</entry>
<entry>
<title>rc-httpd: various fixes</title>
<updated>2015-06-02T21:15:02+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@felloff.net</email>
</author>
<published>2015-06-02T21:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=7b8bada6b471f4ab2ee12f5a2721ca488fac462f'/>
<id>urn:sha1:7b8bada6b471f4ab2ee12f5a2721ca488fac462f</id>
<content type='text'>
care has to be taken when splitting the host into SERVER_NAME and SERVER_PORT,
as ipv6 uses : in the host part. also do it consistently, the host can be set
thru the request uri and the host header.

set REMOTE_USER to empty string to prevent accidents.

we do not handle chunked transfer encoding, just assuming the client doesnt
do keep alive is wrong. we have to reject the post when the client tries
chunked post with 411 "Length required" error.
</content>
</entry>
<entry>
<title>rc-httpd/handlers/dir-index: plan 9 files may be chmod +a:</title>
<updated>2015-05-15T01:04:51+00:00</updated>
<author>
<name>stanley lieber</name>
<email>stanley.lieber@gmail.com</email>
</author>
<published>2015-05-15T01:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=20b8f1e777d04ce7daa771ee75092192d3120bda'/>
<id>urn:sha1:20b8f1e777d04ce7daa771ee75092192d3120bda</id>
<content type='text'>
          The mode printed under the -l option contains 11 characters,
          interpreted as follows: the first character is

          d    if the entry is a directory;

          a    if the entry is an append-only file;

          -    if the entry is a plain file.

Therefore, handle them in automatically generated directory listings.
</content>
</entry>
<entry>
<title>rc-httpd: support for http basic authentication, fix cgi support to work with hgweb.cgi</title>
<updated>2015-03-14T00:02:43+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@felloff.net</email>
</author>
<published>2015-03-14T00:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=8ef66ca21218af00181bf78f37a5ede0238a7fa1'/>
<id>urn:sha1:8ef66ca21218af00181bf78f37a5ede0238a7fa1</id>
<content type='text'>
</content>
</entry>
</feed>
