Patch info for poll_dj
Patch info for poll_dj
Author Comments
Date: Sun, 30 Mar 2003 22:29:54 -0500 (EST)
From: David A Jenkins <dj@wnmail.att.com>
Subject: Patch to replace calls to select with poll
Folks,
Attached is a diff that replaces calls to 'select' with calls to
'poll.' My intention in doing this was to allow stunnel to handle
more than 500 connections on a Solaris box where FD_SETSIZE is
1024. Now the number of allowed clients is calculated only from
the allowable number of file descriptors.
Note, you also have to add -DPREFER_POLL=1 to the defines in
src/makefile to get this to work. I'm still to lazy to add it to
configure.
Dave
This website makes patches available for use by the
Internet community. However it does not endorse any of the patches
contained herein. They could be work perfectly, or totally foul up
everything. We don't know. Contact the authors if you have any
questions. Use at your own risk.
The Stunnel software package does not contain any
cryptography itself, however please remember that import and/or export of
cryptographic software, code providing hooks to cryptographic
algorithms, and discussion about cryptography is illegal in some countries.
It is imperative for you to know your local laws governing cryptography.
We're not liable for anything you do that violates your local laws.
|