[OSM-dev] High performance server [JOSM issues]

Mario Ferraro fadinlight at gmail.com
Wed May 28 16:27:17 BST 2008


Stefan de Konink ha scritto:
> Stefan de Konink schreef:
>> Mario Ferraro schreef:
>>> Have you tried to output the raw osm file (taken from openstreetmap) 
>>> from your server? This could avoid you from suspecting at least 
>>> headers  and try to hack the file only (or otherwise, stop to hack 
>>> the file and look for headers).
>>
>> It is total voodoo.
> 
> Now it seems to be working, and I'm trying to find out why.
> 
> 
> Stefan
> 

That's great, let us know when you'll find it, just curious :)

If it helps, here the HTTP headers I was trying to read to find out 
something. They're equal, but I think they were already.

Looking for an exorcist telephone number :)

Mario

==========

// OSM

GET 
/about/0.5/map?bbox=4.372043399272871,52.06894868775914,4.420033124293988,52.11742099102069 
HTTP/1.1
Host: thuis.kinkrsoftware.nl:8000
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.14) 
Gecko/20080418 Ubuntu/8.04 (hardy) Firefox/2.0.0.14
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: it,en-us;q=0.8,en-gb;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Connection: close
Date: Wed, 28 May 2008 15:01:52 GMT
Server: Cherokee/0.7.0 (UNIX)
Content-Length: 294
Content-Type: text/xml; charset=utf-8
content-disposition: attachment; filename="map.osm"

==========

// Yours

GET /about/map?bbox=4.37,52.095,4.375,52.10 HTTP/1.1
Host: thuis.kinkrsoftware.nl:8000
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.14) 
Gecko/20080418 Ubuntu/8.04 (hardy) Firefox/2.0.0.14
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: it,en-us;q=0.8,en-gb;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Connection: close
Date: Wed, 28 May 2008 15:02:52 GMT
Server: Cherokee/0.7.0 (UNIX)
Content-Length: 99
Content-Type: text/xml; charset=utf-8
content-disposition: attachment; filename="map.osm"

==========




More information about the dev mailing list