Trouble After Closing A Socket

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trouble After Closing A Socket

ソリューションへジャンプ
1,944件の閲覧回数
kackle123
Contributor IV

Hello,

I took the HTTP/web server example of MQX 4.2.2 and added wolfSSL-based, encrypted email to it (multitasking).  However, when the code closes the email socket after sending the SMTP QUIT command, the web server stops functioning, even though the TAD shows no obvious problems.  The bottom of the code looks like this:

ret1 = wolfSSL_shutdown(ssl);

wolfSSL_free(ssl);

wolfSSL_CTX_free(ctx);

ret2 = wolfSSL_Cleanup();

ret3 = shutdown(socketNumber, FLAG_CLOSE_TX); 

I think it all returns okay:

ret1 = 2, acceptable according to wolfSSL code comment.

ret2 = 1

ret3 = 0

Thank you for your suggestions.   

0 件の賞賛
返信
1 解決策
1,689件の閲覧回数
kackle123
Contributor IV

Thank you for your response.  I can try asking the WolfSSL company, but I hope I don't get caught between their blaming MQX, and NXP/MQX blaming WolfSSL!

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,690件の閲覧回数
kackle123
Contributor IV

Thank you for your response.  I can try asking the WolfSSL company, but I hope I don't get caught between their blaming MQX, and NXP/MQX blaming WolfSSL!

0 件の賞賛
返信
1,689件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi

SSL is supported by MQX but provided by our third party partner wolfSSL. You may look at third party options WolfSSL.

You can find information on links below

https://www.wolfssl.com/wolfSSL/Home.html

https://www.wolfssl.com/forums/

Regards

Daniel

0 件の賞賛
返信