The attached rump script leaves me with a bozohttp process in a tight loop
polling in src/libexec/httpd/daemon-bozo.c:
   269  again:
   270      if (poll(httpd->fds, (unsigned)httpd->nsock, INFTIM) == -1) {
   271              /* fail on programmer errors */
   272              if (errno == EFAULT ||
   273                  errno == EINVAL)
   274                      bozoerr(httpd, 1, "poll: %s",
   275                              strerror(errno));
   276
   277              /* sleep on some temporary kernel failures */
   278              if (errno == ENOMEM ||
   279                  errno == EAGAIN)
   280                      sleep(1);
   281
   282              bozowarn(httpd, "poll: errno=%d (%s)", errno, strerror(errno));
   283
   284              goto again;
   285      }
errno == 0, so I suppose poll is returning -1 without setting errno?
Cheers,
Patrick
Attachment:
web.sh
Description: Bourne shell script