Re: [twsocket] ICS SSL problem with libeay32

2009-01-19 Thread Marco Pavanelli
I solved with the dependency walker, it's amazing how many DLL you need
to use Libeay32.

Thanks!

Arno Garrels wrote:
 Marco Pavanelli wrote:
   
 I tried to copy msvcr71.dll in the same folder with application and
 libeay but nothing changes, I tried to look for the libeay in the SVN
 but I could not find it, in filezilla folders I have foung a mingw dll
 but I do not understand I should I use that ?
 Now I try the last suggestion, the ms dependency walker.
 

 I did not mean the ICS repository but the Subversion software distribution.

   
 but I could not find it, in filezilla folders I have foung a mingw dll
 

 I see, obviously current FileZilla versions do no longer link the OpenSSL
 DLLs.

 I just got a bounce from your gmail server which did not accept the zipped
 OpenSSL binaries attached to my PM.

 --
 Arno Garrels [TeamICS]
 http://www.overbyte.be/eng/overbyte/teamics.html
  

   

-- 
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


[twsocket] HttpServer FPostedStream

2009-01-19 Thread Paul
Hi,

when I receive a stream from a client that I want to save in memory, I 
create a new memory stream and copy this stream into and object.
I want the server to save the stream directly into this object.
ClientCnx.FPostedStream := (MyObject.InStream as TMemoryStream).Create;
I don't free the stream in the PostedData event, but somehow it doesn't seem 
to work properly.
Testing is very hard : the server is located elsewhere and it needs at least 
2 client applications communicating with the application server.
Connections are refused after 10 seconds also.
Does the server free this stream anyways when a client disconnects ?

Paul

-- 
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] THttpCli digest and basic authentication

2009-01-19 Thread Arno Garrels
Maurizio Lotauro wrote:
 Scrive Arno Garrels arno.garr...@gmx.de:
 
 Maurizio Lotauro wrote:
 
 [...]
 
 So I think I'll wait for your latest changes?
 
 Yes, probably at this point it is better to wait.
 But if you have time give a look in the code, particularly to
 HttpAuthNTLM to get an idea how implement the Digest authentication
 class. 

Already done last week. However Digest is more similar to Basic, 
the only difference to Basic is that at least one challenge is required
to build the Authorization header line.
Once a challenge is cached somehow it may be reused. With NTLM this is
not possible. 

 So I can ask you for some hint for the new changes if needed
 :-)

Please ask, even though I do not understand all details of the integrity
authentication Qop yet, or better said how to make it working with TSmtpCli :( 
Also see my latest changes in the ICS v7 repository.
Will you be adding your changes to v7? 

--
Arno

 
 Mainly what I want to do is:
 - add a way to authenticate without first receiving a 401/401 status
 code
 - handle different realms sent form the server
 - add a way to tell the component which proxy should use.
 
 Those were my wishes last weekend, but I gave them up temporarily.
 
 Maybe it will be easier with the next changes. We will see.
 
 
 Bye, Maurizio.
 
 
 This mail has been sent using Alpikom webmail system
 http://www.alpikom.it
-- 
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] HttpServer FPostedStream

2009-01-19 Thread Arno Garrels
 Does the server free this stream anyways when a client disconnects ?

I'm not aware of a ClientCnx.FPostedStream, looks like your own
derived class, isn't it?

--
Arno Garrels

-- 
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] HttpServer FPostedStream

2009-01-19 Thread Paul
 I'm not aware of a ClientCnx.FPostedStream, looks like your own
 derived class, isn't it?

Sorry, forgot to add.
Yes, it is part of a THttpConnection class
It's the stream sent by a client that I want to store directly in an object.
But I think I''m facing problems trying to do so.


Paul


- Original Message - 


From: Arno Garrels arno.garr...@gmx.de
To: ICS support mailing twsocket@elists.org
Sent: Monday, January 19, 2009 8:28 PM
Subject: Re: [twsocket] HttpServer FPostedStream


 Does the server free this stream anyways when a client disconnects ?

 I'm not aware of a ClientCnx.FPostedStream, looks like your own
 derived class, isn't it?
 

-- 
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