HTTP Header Connection "keep-alive"

Hi, I'm trying to do some tests of the AJAX feature of the embedded HTTP server (MDK 5.1.6 Network Component). The thing is, the server is always sending the HTTP header:

Server: Keil-EWEB/2.1
Content-Type: text/html
Cache-Control: no-cache
Connection: close

The problem is that, without

Connection: "keep-alive"

the TCP connection is being opened and closed for every refresh of an AJAX object, so the performance is not good when trying to refresh some page content, in spite of using AJAX.

Is there a way of overriding this in the HTTP Response header??

Regards.

Parents Reply Children
No data
More questions in this forum