Dim Socket As New HTTPSocket
MsgBox Socket.Get("www.google.com", 10)
This worked before the 2012r1.1 point release, and I notice that Paul raised the problem in case 22823, but it was closed as being “by design”. So does that mean the feature is being officially deprecated? If so, why isn’t it in the documentation? And… does that mean all HTTP retrieval is forced to be asynchronous in the future?
Interesting, you’re quite right. I was wrong. It has nothing to do with synchronous or asynchronous, but is an HTTP issue. Honestly, I don’t know much about HTTP sockets. Is this an issue on your end, Google’s, or both? Should the HTTPSocket support HTTP 1.1?
1.1 would be nice to support but that also implies persistent connections & a few other bits that present some interesting challenges.
If servers just behaved correctly with a 1.0 response when they are talking to a 1.0 client I’d be happy.
They’re not & are holding the connection open which is wrong - that’s what makes the problem happen.
The 1.0 client doesn’t realize that the server has actually sent everything because it doesn’t close the connection