Re: is this a bug or a site source error?

2011-11-06 Thread Dave Higton
In message 1320531574.29744.10.camel@duiker
  John-Mark Bell j...@netsurf-browser.org wrote:

 On Sat, 2011-11-05 at 21:13 +, Dave Higton wrote:
  Please try:
  
  http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music
  
  (I hope I've copied that out correctly; I can't seem to drag it out of
  NS.)
  
  I get a warning from NetSurf: Error while processing content unencoding:
  invalid code lengths set
  
  Is this a bug in NetSurf, or is it an error in the site's source
  code?  If it's a bug, I will happily report it.
 
 The site responds with a gzip-encoded stream containing trailing
 garbage. This causes the HTTP library we use to complain with the
 message you see. r13129 contains an egregious hack around the problem
 which should make it work as well as can be expected.

Thank you, John-Mark; I confirm it does.

A good opportunity to thank the whole NS team again, too!

Dave



is this a bug or a site source error?

2011-11-05 Thread Dave Higton
Please try:

http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music

(I hope I've copied that out correctly; I can't seem to drag it out of
NS.)

I get a warning from NetSurf: Error while processing content unencoding:
invalid code lengths set

Is this a bug in NetSurf, or is it an error in the site's source
code?  If it's a bug, I will happily report it.

Dave



Re: is this a bug or a site source error?

2011-11-05 Thread Dr Alan Leighton
In message 4c9c8e2d52.davehig...@dsl.pipex.com
  Dave Higton davehig...@dsl.pipex.com wrote:

 Please try:

 http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-r
 ights-management-music

 (I hope I've copied that out correctly; I can't seem to drag it out of
 NS.)

 I get a warning from NetSurf: Error while processing content unencoding:
 invalid code lengths set

Me too,

Alan


-- 



Re: is this a bug or a site source error?

2011-11-05 Thread Dr Peter Young
On 5 Nov 2011  Tony Moore old_coas...@yahoo.co.uk wrote:

 On 5 Nov 2011, Dave Higton davehig...@dsl.pipex.com wrote:

 Please try:

 http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-r
 ights-management-music

 (I hope I've copied that out correctly; I can't seem to drag it out of
 NS.)

 I get a warning from NetSurf: Error while processing content
 unencoding: invalid code lengths set

 Here, using NetSurf r13077, running on RO 6.20, there is no error, and
 the page is displayed, more or less correctly. However, for reasons not
 understood, NetSurf decided to re-scan the fonts before loading (NetSurf
 was not running, when I double-clicked the URL).

Here it does the crash with r13124 and RISC OS 4.02.

With best wishes,

Peter.

-- 
Peter   \  /  zfc Lu \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: is this a bug or a site source error?

2011-11-05 Thread John-Mark Bell
On Sat, 2011-11-05 at 21:13 +, Dave Higton wrote:
 Please try:
 
 http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music
 
 (I hope I've copied that out correctly; I can't seem to drag it out of
 NS.)
 
 I get a warning from NetSurf: Error while processing content unencoding:
 invalid code lengths set
 
 Is this a bug in NetSurf, or is it an error in the site's source
 code?  If it's a bug, I will happily report it.

The site responds with a gzip-encoded stream containing trailing
garbage. This causes the HTTP library we use to complain with the
message you see. r13129 contains an egregious hack around the problem
which should make it work as well as can be expected.


John-Mark.




Re: is this a bug or a site source error?

2011-11-05 Thread John-Mark Bell
On Sat, 2011-11-05 at 22:45 +, Tony Moore wrote:
 On 5 Nov 2011, John-Mark Bell j...@netsurf-browser.org wrote:
  On Sat, 2011-11-05 at 21:13 +, Dave Higton wrote:
 
 [snip]
 
   http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music
 
 [snip]
 
  The site responds with a gzip-encoded stream containing trailing
  garbage. This causes the HTTP library we use to complain with the
  message you see.
 
 In that case, why does r13077 have no problem with the site?

Most likely because you're fetching it through a proxy server which
fixes the brokenness. Certainly, there's no reason for r13077 to work
any better than later versions in this respect.


John-Mark.




Re: is this a bug or a site source error?

2011-11-05 Thread Tony Moore
On 5 Nov 2011, John-Mark Bell j...@netsurf-browser.org wrote:
 On Sat, 2011-11-05 at 22:45 +, Tony Moore wrote:
  On 5 Nov 2011, John-Mark Bell j...@netsurf-browser.org wrote:
   On Sat, 2011-11-05 at 21:13 +, Dave Higton wrote:
 
  [snip]
 
http://opensource.com/life/11/11/drm-graveyard-brief-history-digital-rights-management-music
 
  [snip]
 
   The site responds with a gzip-encoded stream containing trailing
   garbage. This causes the HTTP library we use to complain with the
   message you see.
 
  In that case, why does r13077 have no problem with the site?

 Most likely because you're fetching it through a proxy server which
 fixes the brokenness. Certainly, there's no reason for r13077 to work
 any better than later versions in this respect.

NetSurf is configured to use 'No proxy'. Is it possible that my ISP
connects via a proxy, without my knowledge?

Tony