FreeScholar / customchatServer

customchat server - website
http://www.customchat.com/downloads
GNU General Public License v3.0
2 stars 1 forks source link

Odd behavior in Chrome #10

Open FreeScholar opened 6 years ago

FreeScholar commented 6 years ago

After logging into the chatroom: http://www.chatalotchat.com:7000/evermore in Chrome, this link appeared on the bottom of the browser: file:///home/freescholar/Downloads/evermore See screenshot

I opened the file and this is the contents of it:

ThisRandomString Content-type: text/html

Evermore MESSAGES WILL APPEAR ON THE SCREEN IN REAL TIME, AS OTHERS POST THEM.

If you are idle for a while you may see the message "Transfer interrupted!", or if you want to clear the screen of all messages...
just hit the Reload button in your browser to reconnect to the CustomChat Server.


CustomChat Server
admin
has arrived...
CustomChat Server
Welcome Room Owner!
To create a LINK to your CustomChat Room, just copy the code below.:

<A HREF="http://127.0.0.1:7000/evermore">My CustomChat Room</A>
There are buttons at the top of the room to Remove/Boot unruly chatters, Edit or Delete this room.
JamesVorder commented 5 years ago

Live chat doesn't work at all in Chromium. In that browser, what appears to be a binary file just downloads infinitely. InfiniteDownload

JamesVorder commented 5 years ago

This is due to Chromium not rendering multipart responses. I tried adding an "inline" content disposition to our response, which did not change anything.

Right now, we push content up from the server in increments (using a multi-part HTTP response.) Instead, we should probably pull it from the server using repeated AJAX requests. (Or possibly notify the front-end of new content using web sockets.)