If I could ask anything, it would be if there are big differences in how curl works and how browsers and other things do HTTP requests. Of course, at a high level, they all open a connection, establish TLS, and talk HTTP, but do they also use for example that algorithm for trying various IP addresses?
In general and from the broader view, browsers work the same way as curl. They too do "happy eyeballs" to connect to new hosts etc. A big difference is that browsers tend to run for longer periods of time so they can take better advantage of caches etc, keep state and "remember" things between subsequent attempts and fetches.
I enjoyed the Q&A
Thank you Daniel.
Thanks for this Daniel!
Thanks a lot.
its surprising your channel is not crazy famous
thanks
Great explanation!
If I could ask anything, it would be if there are big differences in how curl works and how browsers and other things do HTTP requests. Of course, at a high level, they all open a connection, establish TLS, and talk HTTP, but do they also use for example that algorithm for trying various IP addresses?
In general and from the broader view, browsers work the same way as curl. They too do "happy eyeballs" to connect to new hosts etc. A big difference is that browsers tend to run for longer periods of time so they can take better advantage of caches etc, keep state and "remember" things between subsequent attempts and fetches.