Browse Source

list all network handlers in lighttpd -V (fixes #2376)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2824 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.31
Stefan Bühler 11 years ago
parent
commit
6f0752da38
  1. 28
      src/server.c

28
src/server.c

@ -409,19 +409,31 @@ static void show_features (void) {
"\t- libev (generic)\n"
#endif
"\nNetwork handler:\n\n"
#if defined(USE_LINUX_SENDFILE) || defined(USE_FREEBSD_SENDFILE) || defined(USE_SOLARIS_SENDFILEV) || defined(USE_AIX_SENDFILE)
"\t+ sendfile\n"
#if defined USE_LINUX_SENDFILE
"\t+ linux-sendfile\n"
#else
#ifdef USE_WRITEV
"\t- linux-sendfile\n"
#endif
#if defined USE_FREEBSD_SENDFILE
"\t+ freebsd-sendfile\n"
#else
"\t- freebsd-sendfile\n"
#endif
#if defined USE_SOLARIS_SENDFILEV
"\t+ solaris-sendfilev\n"
#else
"\t- solaris-sendfilev\n"
#endif
#if defined USE_WRITEV
"\t+ writev\n"
#else
#else
"\t- writev\n"
#endif
"\t+ write\n"
#endif
#ifdef USE_MMAP
#ifdef USE_MMAP
"\t+ mmap support\n"
#else
#else
"\t- mmap support\n"
#endif
#endif
"\nFeatures:\n\n"
#ifdef HAVE_IPV6

Loading…
Cancel
Save