[stunnel-users] Problem with huge stunnel.conf

Michal Trojnara Michal.Trojnara at mobi-com.net
Fri Dec 17 16:19:43 CET 2004


"CIM Massy" <mlk141 at wanadoo.fr> wrote:
> And it does only work for the first 31 pairs of "services".
[cut]
> It does not seem to be a W2K problem since it works with the 64 first 
> services.

The problem is that Windows only supports 64 file descriptors in a single 
FD_SET structure by default:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/maximum_number_of_sockets_supported_2.asp

You can build stunnel with a bigger FD_SET.  It's not used by default 
because of increased memory consumption.  Please let me know if you need my 
help.

Best regards,
    Mike 




More information about the stunnel-users mailing list