We are working in an embedded environment where we use two scenarios HTTP connection without SSL - Http client and HTTP connection with SSL - Https client. We have our own HTTP application & SSL stack which uses the underlying TCP-IP connection which is where we use Wiz W7500S2E-R1 module. Both the HTTP and SSL stack are proven application and they are working fine for years with our previous Modem. The TCP-IP connection and Data transfer to and fro works fine with both the scenarios. Once confirmed all the data transfer has been done, when the application tries to close the active TCP-IP connection by coming out of data mode (by sending +++ with a time gap of 1 sec each before and after sending) , the first scenario HTTP connection without SSL - Http client is working as expected .Here the Wiz module sends a FIN packet to the remote host to disconnect the active connection. But in the second scenario HTTP connection with SSL - Https client, the Wiz modem doesn’t sends a FIN packet to the remote host. The remote host disconnects the connection after certain timeout.
I tried with setting the inactive timer to 1 ms and setting the reconnect time to 55 secs after coming out of the data mode and later going back to data mode (AT+EXIT). Later i expect the Wiz modem disconnects the connection. I tested with two different HTTPs connection i.e different servers (as TCP client). The result is, in one of the case, the Wiz modem sends a RST packet to the remote host in ~6 secs after entering data mode. In other case, nothing happened and the connection ended by remote host on timeout.
Hope i gave a clear and detailed story. Please help.
Thanks in advance.