Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion XmlHttprequest and perisistent connections
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Wilco  
View profile  
 More options Nov 4 2008, 8:09 am
Newsgroups: mozilla.dev.ajax
From: Wilco <w.vante...@gmail.com>
Date: Tue, 4 Nov 2008 05:09:23 -0800 (PST)
Local: Tues, Nov 4 2008 8:09 am
Subject: XmlHttprequest and perisistent connections
I'm having trouble with an AJAX script which polls an XML file off a
webserver. Problem is that for every XMLHttpReqeust I make, a new TCP
connection is set up (which eats a lot of resources from my embedded
device). Is this normal behaviour?

The HTTP server supports HTTP 1.1, so I suppose it should use a
perisistent connection. I checked if the webserver was configured
properly, and it is.

I did some research on the subject and looked at the wireshark output
of a Mozilla firefox 3.0 quick search bar search (which also uses
XmlHttpRequest). The requests in this log are done via a single TCP
connection. I compared the source js to my own js but there where no
functional differences.

Also checked websites as http://ajaxref.com/ http://ajaxpatterns.org/
and http://radio.javaranch.com/pascarello/2006/03/30/1143735438047.html
but could not find any info.

Anyone got a clue?

Wilco


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.