Incorrect OXP List Size

For test results, bug reports, announcements of new builds etc.

Moderators: another_commander, winston, Getafix

Post Reply
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6554
Joined: Wed Feb 28, 2007 7:54 am

Incorrect OXP List Size

Post by another_commander »

What's going on here?

Image
User avatar
hiran
Theorethicist
Posts: 2060
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Incorrect OXP List Size

Post by hiran »

Not sure what is going on. The file has roughly 21k lines. But that would not justify a single MB.

https://github.com/OoliteProject/oolite ... index.html

The raw file is offered for about 710 kB.
Sunshine - Moonlight - Good Times - Oolite
User avatar
hiran
Theorethicist
Posts: 2060
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Incorrect OXP List Size

Post by hiran »

I just ran this command:

Code: Select all

$ curl --request HEAD -v https://addons.oolite.space/api/1.0/overview/
[...]
< HTTP/2 200 
< date: Mon, 19 Feb 2024 20:03:13 GMT
< content-type: text/html; charset=utf-8
< last-modified: Mon, 19 Feb 2024 01:26:40 GMT
< access-control-allow-origin: *
< expires: Mon, 19 Feb 2024 20:11:49 GMT
< cache-control: max-age=600
< x-proxy-cache: MISS
< x-github-request-id: 63A4:24BC64:597EBF:5AD2C0:65D3B3AD
< via: 1.1 varnish
< age: 0
< x-served-by: cache-mrs10574-MRS
< x-cache: HIT
< x-cache-hits: 1
< x-timer: S1708372993.305793,VS0,VE108
< vary: Accept-Encoding
< x-fastly-request-id: af3710fceddad58a9f3d7bdefeeb13db46288e62
< cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=fL%2FY7Zf45Egh9gAy%2FrVbur7fRz2VI243pPd8ujFiEFyVElksRcWjrP7%2Bugq8%2FIJW83O5vWGq56xS8RjkkwX9BzQOd2cSUVGwKmVEHxu%2FUp3DEZYRZsESVC3W9yi6Y%2FzXaFDSyOnou26OGk3dCVQOmGWt"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 85811ca80b0f6ef1-CDG
< alt-svc: h3=":443"; ma=86400
< 
* Connection #0 to host addons.oolite.space left intact
It occurs to me that the header Content-Length is not used at all. So how can Oolite display progress if it does not know how many bytes will follow?
Sunshine - Moonlight - Good Times - Oolite
Post Reply