bin/52072: Wrong behaviour of the ftpd when the OOB data
alexs at ratmir.ru
Mon May 12 05:00:30 PDT 2003
The following reply was made to PR bin/52072; it has been noted by GNATS.
From: Alex Semenyaka <alexs at ratmir.ru>
To: Nick Leuta <skynick at stu.lipetsk.ru>
Cc: freebsd-gnats-submit at FreeBSD.org, alexs at ratmir.ru
Subject: Re: bin/52072: Wrong behaviour of the ftpd when the OOB data received
Date: Mon, 12 May 2003 15:59:46 +0400
On Mon, May 12, 2003 at 02:12:57AM +0400, Nick Leuta wrote:
> There is another approach to the solution. I don't know what's better...
No, it is not another approach :) This should be applied _as_ _well_.
I just forgot to check if syscalls have made restartable or not. Of course
> This patch tries to fix a potential incomplite write() call - SIGURG signal
It does not. This will help only if we are already in the syscall but no
data were transferred yet. If even the only byte is passed - the write() will
be interrupted. Same situation with read(). I do not remember though how about
sendfile()... should be the same there.
More information about the freebsd-bugs