Re: bugs found in http.e and news.ex

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless_ said...
CoJaBo2 said...
useless_ said...

Some sites do not give a content_length in the http header (hence when news.ex used http.e, yahoo never had a hit on *anything*), some give bad values.

In HTTP/1.1, Content-Length is omitted in some cases. At a minimum, the Transfer-Encoding header (and its Chunked encoding) must be supported to fix this issue. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.4
(Note: Technically this is could be considered a server bug- Content-Length is always mandatory in HTTP/1.0, so servers should not be sending HTTP/1.1 replies to HTTP/1.0 clients, as they will not be compatible; nonetheless, several major sites [Wikipedia] sometimes do this. Also, servers should not be sending Content-Length along with Transfer-Encoding, yet some do; in these cases, the Content-Length is bogus, as the length computed from the Transfer-Encoding supercedes it).

Ideally, http.e should be fully HTTP/1.1 compliant.

I disagree with you yet again, i say ideally http.e should work.

CoJaBo2 said...
useless_ said...

At least one uses 31-bit values which roll over to negative values and are wrong from then on (wikimedia, but others too).

I suspect you are running into the above isue, rather than rollover.

Really?, so the -216blahblah values i see should be treated how? And then they decrease to zero and go positive and keep increasing, and then go negative again, which drug should i take to keep believing that BS?

Well, you should enter this bug in a ticket. Frankly, I have no idea what you're saying here, or how we would go about fixing it. But entering a bug is the first step to getting http.e fixed (regardless of what's happened in the past). If you have an idea about how to fix, please put that in the ticket, too.

Of course, others may disagree, with either your diagnosis or your remedy. But an actual bug report seems like a good next step.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu