The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: random832@fastmail.us (random832@fastmail.us)
Subject: [TUHS] 2.9bsd on 11/45 restoration
Date: Sat, 04 Oct 2014 23:26:53 -0400	[thread overview]
Message-ID: <1412479613.72555.175236101.7727764C@webmail.messagingengine.com> (raw)
In-Reply-To: <CAHYQbfBaPwsA0ps3FS9LKdeLKSjYCxTrYtPc5Ct4AV0Sgs1S0w@mail.gmail.com>

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 at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tinyhttpd.diff
Type: application/octet-stream
Size: 12009 bytes
Desc: not available
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20141004/536f69a2/attachment.obj>


  parent reply	other threads:[~2014-10-05  3:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03  3:36 Warren Toomey
2014-10-04  8:06 ` random832
     [not found]   ` <CAHYQbfBaPwsA0ps3FS9LKdeLKSjYCxTrYtPc5Ct4AV0Sgs1S0w@mail.gmail.com>
2014-10-05  3:26     ` random832 [this message]
     [not found]       ` <CAHYQbfC3t-5ukH-xM1QL5nq21DiC2z3i5bcPWcmgoQK4TZDkbA@mail.gmail.com>
     [not found]         ` <1412538525.277114.175397473.12347280@webmail.messagingengine.com>
2014-10-05 19:49           ` random832
2014-10-07  8:54 ` Peter Jeremy
2014-10-04 12:19 Noel Chiappa
2014-10-04 20:26 ` Dave Horsfall
     [not found] <mailman.1.1412470802.24227.tuhs@minnie.tuhs.org>
2014-10-05 21:01 ` Johnny Billquist
2014-10-05 21:46   ` Nick Downing
2014-10-05 22:49     ` Johnny Billquist
2014-10-06  1:36 Norman Wilson
     [not found] <mailman.1.1412643601.13349.tuhs@minnie.tuhs.org>
2014-10-07 18:15 ` Johnny Billquist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1412479613.72555.175236101.7727764C@webmail.messagingengine.com \
    --to=random832@fastmail.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).