nanogui: Image size limit?


Previous by date: 15 Jul 2006 02:30:24 +0100 ViewML and cURL, Robbie
Next by date: 15 Jul 2006 02:30:24 +0100 Linking Microwin in Embedded VC++, tan yongzai
Previous in thread: 15 Jul 2006 02:30:24 +0100 Re: Image size limit?, Martin Kajdas
Next in thread: 15 Jul 2006 02:30:24 +0100 Re: Image size limit?, Martin Kajdas

Subject: Re: [nanogui] RE: Image size limit?
From: "Greg Haerr" ####@####.####
Date: 15 Jul 2006 02:30:24 +0100
Message-Id: <05ca01c6a7ae$263a9780$6401a8c0@winXP>

> I fixed the GrBitmap to send data in chunks and it works. The problem is
fixed.

Woohoo!


> This made sense to me once I understood the limitations of the transfer
routines and that some pieces of code do not break up the transfers.

Martin, thanks for the code fix.  This was definitely an oversight.  I
thought I had all cases where variable length data was sent, handled.
What other routines did you see that might require fixing also?

Another thought is: perhaps the server should check that no
request is sent with a length value > MAXREQUESTSZ.  In
this way, it wouldn't just crash, but could drop the request.
I need to look at the code to see why this isn't already handled
properly, that was the reason for the length word in the first
place - the packet should at least have been read properly
from the client request socket.

Regards,

Greg


Previous by date: 15 Jul 2006 02:30:24 +0100 ViewML and cURL, Robbie
Next by date: 15 Jul 2006 02:30:24 +0100 Linking Microwin in Embedded VC++, tan yongzai
Previous in thread: 15 Jul 2006 02:30:24 +0100 Re: Image size limit?, Martin Kajdas
Next in thread: 15 Jul 2006 02:30:24 +0100 Re: Image size limit?, Martin Kajdas


Powered by ezmlm-browse 0.20.