Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 05:00:29 -0700 (PDT)
From:      Alex Semenyaka <alexs@ratmir.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/52072: Wrong behaviour of the ftpd when the OOB data received
Message-ID:  <200305121200.h4CC0TEE013893@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/52072; it has been noted by GNATS.

From: Alex Semenyaka <alexs@ratmir.ru>
To: Nick Leuta <skynick@stu.lipetsk.ru>
Cc: freebsd-gnats-submit@FreeBSD.org, alexs@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
 they should.
 
 > 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.
 
 								SY, Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305121200.h4CC0TEE013893>