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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|