On Sat, Oct 4, 2014, at 12:37, Jacob Ritorto wrote:
nice. may i see your difffs?
On Sat, Oct 4, 2014 at 4:06 AM, <random832(a)fastmail.us> wrote:
>
> Seeing this question, I figured "it can't be that hard", and managed
to
> get tinyhttpd
http://tinyhttpd.sourceforge.net/ to compile on 2.11BSD.
> Mostly just required K&R-ification, though I also had to fix some bugs
> in the way it uses buffers to get it to work at all. Normal GET requests
> work; The whole CGI thing I disabled because I couldn't get it to work
> reliably even on modern linux.
>
> Not actually tested, though - I couldn't get simh to emulate a network
> device.
Sure.
Security note: the httpd itself doesn't appear to do anything about e.g.
".." in pathnames, and I didn't do anything about that.