Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 10 18:50
    rlebeau closed #268
  • Sep 10 18:50
    rlebeau commented #268
  • Sep 10 18:50

    Fulgan on Restructure

    Fix for TIdResponseHeaderInfo.S… (compare)

  • Sep 10 18:50

    Fulgan on master

    Fix for TIdResponseHeaderInfo.S… (compare)

  • Sep 10 18:49
    rlebeau labeled #268
  • Sep 10 18:49
    rlebeau labeled #268
  • Sep 10 18:49
    rlebeau assigned #268
  • Sep 10 18:49
    rlebeau review_requested #268
  • Sep 09 13:15
    gjdoornink opened #268
  • Aug 28 21:00

    Fulgan on Restructure

    Setting TIdSSLIOHandlerSocketBa… (compare)

  • Aug 28 21:00

    Fulgan on master

    Setting TIdSSLIOHandlerSocketBa… (compare)

  • Aug 28 19:42
    rlebeau milestoned #183
  • Aug 28 19:42
    rlebeau demilestoned #183
  • Aug 28 19:42
    rlebeau assigned #183
  • Aug 14 01:35
    rlebeau labeled #267
  • Aug 14 01:35
    rlebeau labeled #267
  • Aug 14 01:35
    rlebeau assigned #267
  • Aug 14 01:35
    rlebeau opened #267
  • Aug 09 18:50

    Fulgan on master

    Adding IdGlobal unit to uses cl… (compare)

  • Jul 24 19:30

    Fulgan on Restructure

    More Embarcadero patches (compare)

Remy Lebeau
@rlebeau
Use SSLOptions.SSLVersions to enable desired versions, the SSLOptions.Method will be updated accordingly (and vice versa). When multiple versions are enabled, the ssl23 method is used so version negotiation can be performed with the peer dynamically.
Remy Lebeau
@rlebeau
what kind of behavior are you seeing?
Nick Hodges
@NickHodges_twitter
I'm seeing our server only accetp V1.0 connections. I use fiddler, and if I tell fiddler to only send v1.1 and v1.2 connections, the server (Indy-based) obviously, will reject it, despite all three types put in the Methods property as a set. The server accepts teh connection if I add v1.0 to Fiddler.
Thanks for your assistance, BTW. Very much appreciated.
Nick Hodges
@NickHodges_twitter
Never mind. I figured out that I was loading an old version of ssleay32.dll that apparently didn't support 1.1 and 1.2.
Remy Lebeau
@rlebeau
Ok then
Wil32
@Wil32
has anyone figure out how to make the new requirement 'ipv6' work from apple(ios)
Remy Lebeau
@rlebeau
Indy has supported IPv6 for several years now. It defaults to IPv4 (there are IdIPv4 and IdIPv6 defines in IdCompilerDefines.inc to specify the default), but most Indy components have an IPVersion property that you can set to Id_IPv6 at runtime if needed, and then you can use IPv6 addresses and IPv6 hostname lookups as needed. In Delphi 10.1 Berlin, Embarcadero even compiled the bundled version of Indy to default to IPv6 on iOS.
phy0292
@phy0292
谁能看懂中文?
phy0292
@phy0292
我有一个重要的BUG要报告,在indy10和之前的版本一直存在。在IdZLib.pas中的CompressStream里,如果我们以大于1比如9的压缩level来调用IdCompressorZLibEx1->DeflateStream(in_ms,out_ms,9);那么CompressStream函数发生buffer error的概率30%,你可以试试以这样的方式依次来压缩某个文件中每个文件,压缩结果可以舍弃不要,你会发现在压缩某些文件或内容时报buffer error的错误。而以默认的IdCompressorZLibEx1->DeflateStream(in_ms,out_ms);来调用这个函数不会出错,但是实际上他是不压缩数据,结果基本上都是变大。如果把 if strm.avail_in = 0 then break; 这一行改成if (strm.avail_in = 0) and (strm.avail_out > 0) then break; 那么BUG消除。。。
Matthijs ter Woord
@mterwoord
@phy0292 You may have better luck trying in english...
davidpn
@davidpn
He says there's a bug in IdZLib.pas
Matthijs ter Woord
@mterwoord
what kind of bug?
davidpn
@davidpn
He didn't say exactly where, but going by the example it looks like it's in IndyCompressStream, going by what he says the fix is
hard to work out exactly what the bug is
Dodgy Google Translate translation:
I have an important BUG to report, and the previous version in indy10 persist. In IdZLib.pas in CompressStream, if we is greater than 1, such as compression level 9 to call IdCompressorZLibEx1-> DeflateStream (in_ms, out_ms, 9); then CompressStream function generating buffer error probability of 30%, so you can try to way turn to compress each file in a file compression results do not give up, you will find some files in the compressed contents Times buffer error or mistake. The default of IdCompressorZLibEx1-> DeflateStream (in_ms, out_ms); call this function without error, but in fact he is not compressed data, the results are basically large. If if strm.avail_in = 0 then break; into this line if (strm.avail_in = 0) and (strm.avail_out> 0) then break; then eliminate BUG
His first question was whether anyone understands Chinese ;-)
Matthijs ter Woord
@mterwoord
:)
davidpn
@davidpn
Oops.. my bad.. there is a line of code like that in DoCompressStreamEx
Matthijs ter Woord
@mterwoord
@davidpn I'd say we wait for him to translate to english?
davidpn
@davidpn
as well
@phy0292 你可以提供一个更好的例子吗?
I asked for a better example
Matthijs ter Woord
@mterwoord
you know english?
shoot, chinese?
davidpn
@davidpn
lol
no.. I'm relying on Google Translate
hopefully Chinese (simplified) works ;-)
Matthijs ter Woord
@mterwoord
:)
davidpn
@davidpn
I think I need to learn Portugeuse.. most of the hits on my website are from Brazil.. must be a popular Delphi place :-)
phy0292
@phy0292
稍后我提供一个案例放在git上,你们测试后就知道有严重的BUG存在。
davidpn
@davidpn
谢谢 :-)
@davidpn 你会中文? :grinning:
davidpn
@davidpn
不,我使用谷歌翻译 :-)
phy0292
@phy0292
测试程序是个BCB代码,我没有用delphi
davidpn
@davidpn
是的我知道。rlebeau 可能看后来. 我使用Delphi
I hope that worked out alright :-)
@rlebeau his link is to an example of what he thinks is a bug
in BCB
phy0292
@phy0292
Please select "comp.dat" or "ExtWizrd.dll" file for testing
Ludwig Behm
@lbehm
"hey just run these 2 binaries!" that looks kinda like phishing ^_^ must be the paranoia again x)
davidpn
@davidpn
;-)
phy0292
@phy0292
@davidpn 看到BUG了吗?
davidpn
@davidpn
rlebeau以后可能检查的bug
Remy Lebeau
@rlebeau
IdZLib.IndyCompressStream() (which TIdCompressorZLibEx.DeflateStream() uses internally) is known to have issues, but I have not gotten around to fixing it yet.
phy0292
@phy0292
.
if strm.avail_in = 0 then break;
replace