[stunnel-users] Enhancement request - Increase thread stack size

This is a discussion on [stunnel-users] Enhancement request - Increase thread stack size within the Stunnel Users forums, part of the Networking and Network Related category; I load an engine into Stunnel to access the private key. The engine loads without incident, but Stunnel consistently aborts ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-26-2008
Mccue, Richard Alan
 
Posts: n/a
Default [stunnel-users] Enhancement request - Increase thread stack size

I load an engine into Stunnel to access the private key. The engine loads without incident, but Stunnel consistently aborts when creating a session with the first peer because the thread stack is too small.

I rebuilt Stunnel 4.21 on my test machine after increasing the stack size parameter and it fixed the problem. Here is the diff:
---------------------
# diff -b common.h common.h_orig
33c33
< #define STACK_SIZE 32768*4
---
> #define STACK_SIZE 32768

42c42
< #define STACK_SIZE 65536*4
---
> #define STACK_SIZE 65536

---------------------

Could this enhancement be included in the next Stunnel release?

Regards, Rich
_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0