Benjamin wrote:
On Mon, Aug 30, 2010 at 11:28 PM, corvid <corvid@lavabit.com> wrote:
I wonder whether it has to do with interrupted image downloading when it gets all of the remote stylesheets for a page and performs a repush. Or, more precisely, when an image has been requested but hasn't started coming back from the server.
So what you're saying is, it's trying to fetch stylesheets between requesting an image and receiving it, and that's what's causing the problem?
When stylesheets come in, they go through Html_css_load_callback(), and when the last one has been completely received, a_UIcmd_repush() is called to start the page rendering over again. Jorge did the repush code, but it seems to me that dillo continues to receive any partially-received images, whereas for images that haven't started to arrive, the connection is closed and a new connection is made to get the image during the second rendering. So when you mention images and IO callbacks, it comes to mind as a case where something funny could happen...