Spinneret and PNG images
FinnCA
Posts: 11
I have been trying to figure out why my spinneret always is getting hung and I think I found the problem. In safari on mac, I opened the activity window to see why the page was taking so long to load and I found that all of the images being requested had timed out. All of these images were PNGs. I have PNG in the content header. I have no idea what is wrong. Does anyone have a suggestion?
FinnCA
FinnCA
Comments
-Phil
I ended up modifying the Indirect driver to write all 4 status registers to HUB memory while the PASM code is waiting for a command. In the server code I spin up a method that monitors all 4 status registers. I just got the monitor working.
The idea is to always have one listener available. If socket 0 is working (not status 0x14) then start the next available socket.
I thought the issue was available sockets. How does converting a PNG to Base64 work? Is the base 64 encoded in the source web page? You're not using <img src="some file" />?
This was an ico file, but the same principle works with other image formats.
-Phil
-Phil
@FinnCA, I only have the monitor wired up, no consuming logic. Also, I'm not sure how well it will integrate with the current Indirect Driver. I'm fairly sure that I'll need to make driver changes. Finally, this will not totally fix the problem because we only have 4 available sockets.
Hopefully, it will make base64-encoded images less of a pain to implement.
-Phil