![]() |
![]() |
#1 |
Registered User
![]() Join Date: Apr 2016
Location: Perth, Australia
Posts: 294
|
AmiSSL unstable
Hi
My Amiga 3.x app is unstable when I call SSL_Connect() or SSL_Read(). Sometimes it works fine. Sometimes it causes the program to fail with error #80000004. Sometimes it even corrupts the entire OS and the display shows garbage requiring a reboot. I can't figure out what the issue is, especially since it works fine about half the time. What could be going on here? I'm using AmiSSL 5.8 |
![]() |
![]() |
#2 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 42
Posts: 865
|
You need more than the default 4kB stack to use AmiSSL, 8kB is enough as far as my experience goes.
|
![]() |
![]() |
#3 |
Registered User
![]() Join Date: Apr 2016
Location: Perth, Australia
Posts: 294
|
I love you! It's now working perfectly! Thank you so much <3. You have no idea how long I've looked at my code trying to find something wrong with it that could cause this.
|
![]() |
![]() |
#4 |
Registered User
![]() Join Date: Aug 2018
Location: United Kingdom
Posts: 179
|
I'm going to have to check this out at some point, as I'm sure OpenSSL used to be lighter on stack usage - 4K used to be enough, I think. Probably the provider/param stuff could be pushing it up.
|
![]() |
![]() |
#5 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 42
Posts: 865
|
It has been like this since 4.x for the record. Keep in mind that it is not only AmiSSL itself that uses stack when you call SSL_Connect(), SSL_Read() etc, but the underlaying calls to bsdsocket.library will also consume stack.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AmiSSL 4.9 Now Available | Futaura | News | 4 | 06 April 2021 19:44 |
New AmiSSL v4.6 | stevelord | News | 1 | 09 June 2020 13:42 |
AmiSSL 4 | Robbie | support.Apps | 62 | 17 February 2020 19:54 |
AmiSSL 4.0 | Sir_Lucas | News | 6 | 09 February 2017 12:45 |
new AmiSSL | hal9000 | support.Apps | 1 | 14 August 2016 18:23 |
|
|