Https Client

cancel
Showing results for 
Search instead for 
Did you mean: 

Https Client

233 Views
a8Chcx
Contributor IV

Hi,

I am using https client to talk to Https Server, it works fine. I have the following questions:

When I communicate with https server, it will take around 1s to negotiate with server, then I can send request to server, get the reply form server.

My question: Can I just do negotiation once, then keep sending request and getting reply every second for saving time?

Thanks,

Christie

0 Kudos
3 Replies

222 Views
Pavel_Hernandez
NXP Employee
NXP Employee

​​​​​​​Could you tell me what device are you using? I suggest reviewing the connection for WebSocket this session persistent connection between a client and server. If you need more information please let me know.

0 Kudos

214 Views
a8Chcx
Contributor IV

Hi Pavel,

Thanks.

I am using FRDM-K66 with MbedTLS. The server is the device from other company...

I am just wondering if it is possible to keep http or https connection ON and keep sending and receiving from server because https negotiation take lots of time? Need to do something on server side as well?

 

Thanks,

Christie

0 Kudos

167 Views
Pavel_Hernandez
NXP Employee
NXP Employee

Hello,

Does this issue persist if you use another device? Maybe 1s to negotiate is the capacity of the server, is this service is free?.

0 Kudos