Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,877 of 4,255    |
|    JJ to muta...@gmail.com    |
|    Re: HTML terminal    |
|    18 Oct 21 14:46:29    |
      From: jj4public@gmail.com              On Sun, 17 Oct 2021 15:03:37 -0700 (PDT), muta...@gmail.com wrote:       > On Sunday, October 17, 2021 at 6:40:56 PM UTC+11, JJ wrote:       >       >> Use the appropriate HTTP request header to keep the connection open.       >> However, the HTTP server must also support the header.       >       > I'm confused by this. It seems to be the browser that is       > initiating a new request instead of reusing the current       > connection. Maybe that's a Javascript limitation?       >       > Regardless, I tried sending this:       >       > #define KEEP_ALIVE "HTTP/1.1 200 OK\r\n" \       > "Connection: Keep-Alive\r\n" \       > "\r\n"       >       > before the HTML page, but it didn't change the behavior.              Which is why the header must be supported by the server too. Not just the       client. And actually do something as requested, rather than "just talks".              >> Though IMO, it's better to use WebSocket for this kind of purpose.       >       > Note that the goal is for the server to be very simple, rendering       > an HTML page instead of an ANSI terminal. Just a whole lot of       > lines with |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca