Glenn Strauss
4364a4e029
[core] move network_open_file_chunk() to chunk.c
...
move network_open_file_chunk() to chunk.c:chunkqueue_open_file_chunk()
for reuse from modules
6 years ago
Glenn Strauss
b2ab1c8d0e
[core] network_open_file_chunk() temp file opt
...
network_open_file_chunk() temp file optimization:
skip file size checks if file is temp file created by lighttpd
If not temp file, always fstat() for file size check instead of
using potentially out-of-date info from stat_cache
x-ref:
https://redmine.lighttpd.net/boards/3/topics/6884
6 years ago
Glenn Strauss
93afda9c8e
performance: use Linux extended syscalls and flags
...
reduce syscalls on Linux using extended syscalls and flags,
e.g. accept4(), pipe2(), O_CLOEXEC, SOCK_CLOEXEC, SOCK_NONBLOCK
github: closes #2
6 years ago
Glenn Strauss
8abd06a7ff
consistent inclusion of config.h at top of files ( fixes #2073 )
...
From: Glenn Strauss <gstrauss@gluelogic.com>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3113 152afb58-edef-0310-8abb-c4023f1b3aa9
6 years ago
Stefan Bühler
593599f14a
rewrite network (write) backends
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3012 152afb58-edef-0310-8abb-c4023f1b3aa9
7 years ago