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?
problem running atomic webserver on mac m1
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
Re: problem running atomic webserver on mac m1
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 ?
screenshot : https://prnt.sc/2gQ013gMAdzj
Does anybody know how to solve this ?
Re: problem running atomic webserver on mac m1
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.