Has anyone seen this bug with AngularJS (v1.0.7) and Chrome (Version 30.0.1599.114) where canceling http GET request puts the sockets into a pending state thus maxing out the thread pool in chrome?
Code:
if ($scope.canceler !== undefined) {
$scope.canceler.resolve();
$scope.canceler = undefined;
}
$scope.canceler = $q.defer();
$http.get("/apicall", {
cache: myCache,
timeout: $scope.canceler.promise
}).success(function (results) {
}).
error(function (result) {
});