[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-man
Subject:    sendfile() more defailed information ? anyone ?
From:       Walter Harms <wharms () bfs ! de>
Date:       2021-01-20 17:40:08
Message-ID: 6e9e410d0e874053bed915ba2c31a74b () bfs ! de
[Download RAW message or body]

Hi List,
there was a discussion on the busybox-ml about a kernel-bug in sendfile(). 
<cite>
In 2.6.33.7, when used with a normal file as the output, it always
writes the data to offset 0 in the file.

That's fine if you only call it once and then close the output
fd. However, if you call it multiple times (as busybox 'cat' does when
copying multiple files), then you don't get the expected result. The
contents of the input files are not concatenated. Instead the contents
of each input file overwites the existing contents of the output file
starting at offset 0.
</cite>

these apache doc mentions more problems
https://httpd.apache.org/docs/2.4/mod/core.html#enablesendfile

It seems that the bug mentioned above is fixed but nobody seems to know when this was \
done.

IMHO this should be mentioned in the man page, but i lack detailed information and \
time to research them.  I would like to encourage anyone who has information to  come \
forward so it can be added to man page.

re,
 wh=


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic