Diff for /embedaddon/lighttpd/src/network_linux_sendfile.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2013/10/14 10:32:48 version 1.1.1.2, 2014/06/15 20:20:06
Line 141  int network_write_chunkqueue_linuxsendfile(server *srv Line 141  int network_write_chunkqueue_linuxsendfile(server *srv
   
                                         return -1;                                          return -1;
                                 }                                  }
#ifdef FD_CLOEXEC                                fd_close_on_exec(c->file.fd);
                                fcntl(c->file.fd, F_SETFD, FD_CLOEXEC); 
#endif 
 #ifdef HAVE_POSIX_FADVISE  #ifdef HAVE_POSIX_FADVISE
                                 /* tell the kernel that we want to stream the file */                                  /* tell the kernel that we want to stream the file */
                                 if (-1 == posix_fadvise(c->file.fd, 0, 0, POSIX_FADV_SEQUENTIAL)) {                                  if (-1 == posix_fadvise(c->file.fd, 0, 0, POSIX_FADV_SEQUENTIAL)) {

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>