Does HTTPSocket Support TLS 1.2?

On desktop clients, does the old HTTPSocket support TLS 1.2 on modern OSes that have this enabled?

I realize I should be using URLConnection. I need to know the answer to this to determine if I need to force every client to upgrade by the end of October when Azure stops supporting TLS 1.0 and 1.1.

Thanks!

The documentation:
https://documentation.xojo.com/api/deprecated/httpsocket.html#httpsocket
says:

Description

Used to send and receive data via the HTTP 1.0 protocol.

for URLConnection:
https://documentation.xojo.com/api/networking/urlconnection.html
it says:

Description

Used to send and receive data using the HTTP 1.1+ protocol.

I hope URLConnection can do 1.2.

Thanks Alberto. To be clear, this is TLS which is separate from the HTTP protocols and sadly missing from the documentation.

1 Like

Misread that. Sorry for the noise.

Edit: thank you Jeremie, so it is HTTPSecureSocket and not HTTPSocket, that got me confused.

This might help:
https://documentation.xojo.com/api/networking/sslsocket.html#sslsocket-sslconnectiontypes

HTTPSecureSocket has a SSLConnectionType property as Integer.

2 Likes

Thanks Jeremy.

According to the handy docs you referenced, it defaults to TLS 1.0.

However in my testing so far no TLS at all shows up when watching viewed in WireShark. Only HTTP. Will continue to check

Just to be clear, that means that:

  • HTTPSocket does not support any SSL connection type
  • HTTPSecureSocket does support SSL connection type

The title says HTTPSocket. Are you using that or HTTPSecureSocket?