3 ms·
What I'd love in the HTTP protocol is some way to control IPs used by client - eg fail over to different IP if first is unresponsive. Such a small client side c
by rb808 10y ago
What I'd love in the HTTP protocol is some way to control IPs used by client - eg fail over to different IP if first is unresponsive. Such a small client side change would make back ends much simpler.
- jeroenhd 10y agoThere's already a system to do so: it's called DNS. You can check for timeouts using XHR already and if a server doesn't respond then having it send a new IP wouldn't work anyway. The problem with using DNS that way is the usual 30 second time out. On the other hand lower values than 30 seconds can cause problems for many users with slow or mobile connections. Honestly I can't think of a reason why the HTTP specifications should contain anything about IP addresses.