Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2000 22:38:43 -0700 (PDT)
From:      mvh@ix.netcom.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21513: stunnel port should be compiled using non-blocking I/O
Message-ID:  <20000924053843.D263337B422@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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