hey guys,
i am using jsonp (ajax) to connect to a couchdb server with the _changes api with feed=longpoll. but unfortunately sometimes it misses some change notfications. i don't know why. but i am 100% sure that there are relevant changes. if i use curl it works perfect. has anybody an idea? i think it could be that the server cancels the connection, so it waits for the timeout and returns the json without any changes. but i can not check if the server still has the connection to the client as i am using jsonp (so i don't have a real object to use statechangeevent) so i can not use heartbeat. is that possible? is there any way to check if there is still a jsonp connection to the client? or does anybody know if the _changes timeout gets invoked by the server or the client? please help. thanks. cheers tom
