problem running atomic webserver on mac m1

Mac OSX specific forum
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 782
Joined: Fri Dec 04, 2015 9:26 pm

problem running atomic webserver on mac m1

Post by skinkairewalker »

problem when running atomic webserver on mac m1, apparently it works when it wants to … sometimes it runs and does not load sites with Javascript and webgl, after rerun and it works without having any changes .

code:
https://github.com/falsam/AtomicWebServer


someone explain to me what's going on?
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 782
Joined: Fri Dec 04, 2015 9:26 pm

Re: problem running atomic webserver on mac m1

Post by skinkairewalker »

I found the problem ... large .js files are not fully uploaded, there is an inconsistency in large .js files, like breaking the file ...

screenshot : https://prnt.sc/2gQ013gMAdzj

Does anybody know how to solve this ?
User avatar
deseven
Enthusiast
Enthusiast
Posts: 367
Joined: Wed Jan 12, 2011 3:48 pm
Location: Serbia
Contact:

Re: problem running atomic webserver on mac m1

Post by deseven »

Looks like it uses a single SendNetworkData() for answers, which is limited to 65536 bytes for TCP protocol. So no files larger than 64KB will work. Not sure what the correct way would be, but to start try splitting your data into 64KB chunks and sending these chunks one by one.
Post Reply