Project

General

Profile

Bug #2376 ยป network_handlers.patch

mm, 2011-12-24 01:32

View differences:

src/fdevent.h (working copy)
54 54
# include <port.h>
55 55
#endif
56 56

  
57
#if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE
57
#if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE && !defined HAVE_LIBEV
58 58
# define USE_FREEBSD_KQUEUE
59 59
# include <sys/event.h>
60 60
#endif
src/server.c (working copy)
411 411
      "\nNetwork handler:\n\n"
412 412
#if defined(USE_LINUX_SENDFILE) || defined(USE_FREEBSD_SENDFILE) || defined(USE_SOLARIS_SENDFILEV) || defined(USE_AIX_SENDFILE)
413 413
      "\t+ sendfile\n"
414
#endif
415
#ifdef USE_WRITEV
416
      "\t+ writev\n"
414 417
#else
415
  #ifdef USE_WRITEV
416
      "\t+ writev\n"
417
  #else
418 418
      "\t+ write\n"
419
  #endif
420
  #ifdef USE_MMAP
419
#endif
420
#ifdef USE_MMAP
421 421
      "\t+ mmap support\n"
422
  #else
422
#else
423 423
      "\t- mmap support\n"
424
  #endif
425 424
#endif
426 425
      "\nFeatures:\n\n"
427 426
#ifdef HAVE_IPV6
    (1-1/1)