BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TIdServerCompressionIntercept, where is it?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
John Small
Guest





PostPosted: Mon Dec 12, 2005 10:13 pm    Post subject: TIdServerCompressionIntercept, where is it? Reply with quote



I'm another person on the hunt for TIdServerCompressionIntercept, the
closest I've got is this
message from the Google archive of this group, posted a long time ago in
reply to some other poor soul who'd got code that won't compile.

<
Which version of Indy 9 are you using? In my copy,
TIdServerCompressionIntercept is declared in TIdCompressionIntercept.pas,
the same file that declares the TIdCompressionIntercept component. It was
added well over a year ago. If you do not have it, then you most likely
have a very old version and should seriously consider upgrading.
<

Neat, eh, he answers the question without actually saying which version of
Indy has it! Well I'm using
9.0.18 which I just downloaded from from the main A2Z site, (complete with
the special installer
program) and that hasn't got the component. I also looked on Sourceforge,
but I couldn't download any
files and Indy 9.1 didn't have any files associated with it, what's going
on there?

I need it as the IndySoap components won't compile without it unless you
have compression switched off
in the defines. If you do have compression switched off in the defines
then it compiles but doesn't
work at runtime, you get the error "compression was switched off in the
defines". Brilliant eh!

Somehow, somewhere there was once a version of Indy that would allow the
IndySoap components to
compile with compression switched on in the defines and it would work as
well. Which version was it
and where can I find a copy?

Alternatively if someone has the code for TIdServerCompressionIntercept,
please post it here and I'll
use that.

Thanks

John Small
Back to top
Don
Guest





PostPosted: Mon Dec 12, 2005 10:37 pm    Post subject: Re: TIdServerCompressionIntercept, where is it? Reply with quote



Quote:
I'm another person on the hunt for TIdServerCompressionIntercept...

Starts
Which version of Indy 9 are you using? In my copy,
TIdServerCompressionIntercept is declared in TIdCompressionIntercept.pas,
the same file that declares the TIdCompressionIntercept component. It was
added well over a year ago. If you do not have it, then you most likely
have a very old version and should seriously consider upgrading.
ends

Neat, eh, he answers the question without actually saying which version of
Indy has it! Well I'm using 9.0.18 which I just downloaded from from the
main A2Z site, (complete with the special installer program) and that
hasn't got the component. I also looked on Sourceforge, but I couldn't
download any
files and Indy 9.1 didn't have any files associated with it, what's going
on there?

The most recent release of Indy 9 is version 9.0.50. The source code is
available in the developer snapshots on the www.projectindy.org website.
AFAIK, there is no SourceForge site for Indy. The installer and source code
at the atozed site is old. And there is no Indy version 9.1.

Oh yeah... it's still in the IdCompressionIntercept.pas file.

hth...



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Dec 12, 2005 10:54 pm    Post subject: Re: TIdServerCompressionIntercept, where is it? Reply with quote




"John Small" <npspam@nowhere> wrote


Quote:
Neat, eh, he answers the question without actually saying which
version of Indy has it!

There is no list of which version introduced which component at which time.

Quote:
Well I'm using 9.0.18 which I just downloaded from from the main A2Z site

9.0.18 is a very old version. The current build of Indy 9 is 9.0.50.

Quote:
that hasn't got the component.

Yes, it does, and it is in exactly the same place that the other message
said it was - it is declared in the IdCompressionIntercept.pas unit. It is
not, however, registered on the Component Palette with the other Indy
components. You have to instantiate TIdServerCompressionIntercept
dynamically at runtime, unless you manually edit the IdRegister.pas unit to
register TIdServerCompressionIntercept.

Quote:
I need it as the IndySoap components won't compile without
it unless you have compression switched off in the defines.

IndySoap does not need TIdServerCompressionIntercept registered on the
Component Palette in order to use it. Including IdCompressionIntercept.pas
in the 'uses' clause is enough.

Quote:
Alternatively if someone has the code for TIdServerCompressionIntercept,
please post it here and I'll use that.

It is already available in the current Indy 9 version.


Gambit


Gambit



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Dec 12, 2005 10:55 pm    Post subject: Re: TIdServerCompressionIntercept, where is it? Reply with quote


"Don" <blacknapkin (AT) twistandfruge (DOT) com> wrote


Quote:
Oh yeah... it's still in the IdCompressionIntercept.pas file.

It is not, however, in IsRegister.pas.


Gambit



Back to top
John Small
Guest





PostPosted: Tue Dec 13, 2005 8:24 am    Post subject: Re: TIdServerCompressionIntercept, where is it? Reply with quote

On Mon, 12 Dec 2005 22:37:07 -0000, Don <blacknapkin (AT) twistandfruge (DOT) com>
wrote:

Thanks I checked www.projectindy.org (which is where I got 9.0.18 from an
not A2Z as I previously said), and the latest it has listed, apart from
the development snapshot is 9.0.18 (the website dates it as 11-Nov-2004).
Which is very odd as the latest IndySoap is way back in 2003 and that uses
TIdServerCompressionIntercept. Also date on the IdCompressionIntercept.pas
is 13-Jun-2004 which is earlier than the listed date for 9.0.18. It's a
bit confusing trying to work out which version to use which is why I have
to come here to find out.

I had to fiddle with IndySoap to get that to compile as well and I see
that setting the compression property on the client side does nothing
other than set an internal field. It doesn't attach the client version of
the compression intercept, whereas the server.compression property does
attach the server version of the compression intercept, whether you set
compression to true or false! Why are there different versions for client
and server anyway? I assume that they both use much the same code to go to
Zlib. It's all a bit weird.

Thanks anyway.

John Small

Back to top
Don
Guest





PostPosted: Tue Dec 13, 2005 1:00 pm    Post subject: Re: TIdServerCompressionIntercept, where is it? Reply with quote

Quote:
Thanks I checked www.projectindy.org (which is where I got 9.0.18 from an
not A2Z as I previously said), and the latest it has listed, apart from
the development snapshot is 9.0.18 (the website dates it as 11-Nov-2004).

Not apart from... the "Current Development Snaphot" *us* what you need.
That's all accumulated bug fixes and modifications since the last official
release (which was 9.0.1Cool.





Back to top
Don
Guest





PostPosted: Tue Dec 13, 2005 1:02 pm    Post subject: Re: TIdServerCompressionIntercept, where is it? Reply with quote

Quote:
the "Current Development Snaphot" *us*^h^h^h^h... *is*...



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.