RandomSec/main/webapp/modules
Albin Larsson aac8359238
Set client timeout limit in chainGetJSON() (#2482)
By setting a client side timeout one can avoid net::ERR_NETWORK_IO_SUSPENDED errors caused by the OS network layer being suspended [1]. This allows the client to handle higher level errors.

The jQuery.getJSON() function does not have a parameter for timeouts.

[1]: https://cs.chromium.org/chromium/src/net/http/http_network_layer.cc?q=ERR_NETWORK_IO_SUSPENDED&sq=package:chromium&dr=C&l=42
2020-04-06 10:42:38 +02:00
..
core Set client timeout limit in chainGetJSON() (#2482) 2020-04-06 10:42:38 +02:00