Re: [twsocket] Fix for content encoding bug

2011-10-06 Thread Angus Robertson - Magenta Systems Ltd
> Http Cli not decode the gzip data from this url (specific header, 
> does not work FContentCodingHnd.Complete).
> Try example - http://vkmusic.citynov.ru/overbyte/HttpCliBug.dpr

Thanks for the fix, this is now tested and SVN updated, the nightly zip
will be available tomorrow. 

Content decompression was not triggered if the Content-Length header was
missing, so is now also triggered from SocketSessionClosed. 

Angus


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Fix for content encoding bug

2011-09-29 Thread Yuri Semenov
Http Cli not decode the gzip data from this url (specific header, does not
work FContentCodingHnd.Complete).
Try example - http://vkmusic.citynov.ru/overbyte/HttpCliBug.dpr
And fix for bug - http://vkmusic.citynov.ru/overbyte/ContentCoding_fix.patch

Yuriy


2011/9/29 Angus Robertson - Magenta Systems Ltd 

> The URL you posted is some XML file, nothing to do with ICS.  It displays
> as XML in Firefox which states it is not a web page.
>
> If you attached a patch file to the original email, it would have been
> dumped by the mailing list since otherwise hundreds of people would have
> been spammed with it.
>
> You need to clearly explain in this mailing list what bug you believe you
> have found and how a fix can be tested.
>
> Angus
>
>
>  Original Message --------
>
> *Subject:* Re: [twsocket] Fix for content encoding bug
> *From:* Yuri Semenov 
> *To:* twsocket@elists.org
> *Date:* Thu, 29 Sep 2011 12:12:23 +0400
>
> Does anyone check this bug and fix in OverbyteIcsHttpProt.pas ? :/
>
> 2011/9/11 Yuri Semenov 
>
> > Hello.
> > Bug with decoding some pages.
> > Example -
> >
> http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&lang=ru&artist=Ade
> le&api_key=76f07d681bbb51f8003bf08a97432031(no result, when
> UseContentCoding)
> > Fix attached - "ContentCoding_fix.patch"
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Fix for content encoding bug

2011-09-29 Thread Angus Robertson - Magenta Systems Ltd
The URL you posted is some XML file, nothing to do with ICS.  It displays
as XML in Firefox which states it is not a web page. 

If you attached a patch file to the original email, it would have been
dumped by the mailing list since otherwise hundreds of people would have
been spammed with it. 

You need to clearly explain in this mailing list what bug you believe you
have found and how a fix can be tested. 

Angus


 Original Message 

*Subject:* Re: [twsocket] Fix for content encoding bug
*From:* Yuri Semenov 
*To:* twsocket@elists.org
*Date:* Thu, 29 Sep 2011 12:12:23 +0400

Does anyone check this bug and fix in OverbyteIcsHttpProt.pas ? :/

2011/9/11 Yuri Semenov 

> Hello.
> Bug with decoding some pages.
> Example -
>
http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&lang=ru&artist=Ade
le&api_key=76f07d681bbb51f8003bf08a97432031(no result, when
UseContentCoding)
> Fix attached - "ContentCoding_fix.patch"

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Fix for content encoding bug

2011-09-29 Thread Yuri Semenov
Does anyone check this bug and fix in OverbyteIcsHttpProt.pas ? :/

2011/9/11 Yuri Semenov 

> Hello.
> Bug with decoding some pages.
> Example -
> http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&lang=ru&artist=Adele&api_key=76f07d681bbb51f8003bf08a97432031(no
>  result, when UseContentCoding)
> Fix attached - "ContentCoding_fix.patch"
>
> Best regards, Yuri.
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be