From owner-freebsd-ports Sat Sep 23 22:40: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7B47537B424 for ; Sat, 23 Sep 2000 22:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA56653; Sat, 23 Sep 2000 22:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id D263337B422; Sat, 23 Sep 2000 22:38:43 -0700 (PDT) Message-Id: <20000924053843.D263337B422@hub.freebsd.org> Date: Sat, 23 Sep 2000 22:38:43 -0700 (PDT) From: mvh@ix.netcom.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/21513: stunnel port should be compiled using non-blocking I/O Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21513 >Category: ports >Synopsis: stunnel port should be compiled using non-blocking I/O >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 23 22:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mike Harding >Release: 4.1-Stable >Organization: NameSafe >Environment: FreeBSD netcom1.netcom.com 4.1-STABLE FreeBSD 4.1-STABLE #0: Sat Sep 23 10:18:59 PDT 2000 root@netcom1.netcom.com:/usr/obj/usr/src/sys/MIKEIPF i386 >Description: There is a configuration option to set non-blocking I/O in the stunnel port, and the port compiles fine with this option on. This should be the default, as otherwise you get delays in transfers. >How-To-Repeat: look in the file "ssl.c" on line 29. You see: /* Non-blocking sockets are disabled by default */ /* It works on most systems so feel free to uncomment the next line */ /* #define USE_NBIO */ ...it compiles fine and runs better with the definition enabled >Fix: enable the #define USE_NBIO option in the above file. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message