This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.

0