[Tilecache] TileCache and Keep-Alive

Guillaume Sueur guillaume.sueur at neogeo-online.net
Thu May 22 08:09:10 EDT 2008


nice !
here it is then


Christopher Schmidt a écrit :
> On Thu, May 22, 2008 at 09:25:52AM +0200, Guillaume Sueur wrote:
>> Done here.
>> What is the commit procedure ?
> 
> 'svn diff', attach a patch to a post to the mailing list.
> 
>> Guillaume
>>
>> Christopher Schmidt a écrit :
>>> On Wed, May 21, 2008 at 11:53:14PM +0200, Guillaume Sueur wrote:
>>>> Actually, I did make ab handle KeepAlive HTTP connection by using a raw 
>>>> ApacheReq.headers_out['Content-Length'] = len(image)
>>>> in modPythonHandler.
>>>> I'm not sure it has any impact on a classic use of TileCache, i.e. via a 
>>>> web browser.
>>>> So, is it worth to submit this patch against the trunk ? For me it looks 
>>>> more like a hack for ab, and it seems to be confusing regarding the 
>>>> 'chunk' transfert-encoding which is designed NOT TO specify the 
>>>> content-length.
>>>> I'm not an HTTP guru, but as I can read in its specs 
>>>> (http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html):
>>>> If a message is received with both a Transfer-Encoding header field and 
>>>> a Content-Length header field, the latter MUST be ignored.
>>> We don't use transfer-encoding. content-length can't hurt anything. I'd
>>> be happy to see it added to all the handlers. 
>>>
>>> Regards,
> 

-- 
Guillaume SUEUR
Expert SIG et OpenSource
NEOGEO
46 RUE MATABIAU
31000 TOULOUSE
06 74 91 95 20
Site web : http://www.neogeo-online.net

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ka.patch.txt
Url: http://openlayers.org/pipermail/tilecache/attachments/20080522/1fdda880/attachment.txt 


More information about the Tilecache mailing list