[twsocket] ICS group on social networks LinkedIn and FaceBook

2010-11-05 Thread Francois PIETTE

Hi !

Every ICS user is invited to be part of ICS-group on Linked-In. 
See http://www.linkedin.com/e/gis/136245
Why ? 
Just to have a little bit more visibility for everyone of us and for  ICS.


There is another one on FaceBook:
http://www.facebook.com/pages/ICS-Internet-Component-Suite/39493622127

btw: You may also be part of Powered by Delphi group on Linked-In.
http://www.linkedin.com/e/gis/48600

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
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] Issue with HTTP client POST with NTLM authentication

2010-11-05 Thread Fastream Technologies
Hello,

After I started building the demo you asked for, I get an AV at the new
heartbeat function of the Web server demo. Please see the BCB project/Delphi
source code below:

http://www.fastream.com/ics/ICSBCBWebServerDemo.rar

I have tried to delete all the package files etc with no joy. Any idea?

Regards,

SZ

On Thu, Nov 4, 2010 at 10:57 PM, Francois PIETTE
francois.pie...@skynet.bewrote:

 You should build the smallest possible test program, preferably using
 Delphi, showing it doesn't work as expected.

 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be


 - Original Message - From: Fastream Technologies 
 ga...@fastream.com
 To: ICS support mailing twsocket@elists.org
 Sent: Thursday, November 04, 2010 6:57 PM
 Subject: Re: [twsocket] Issue with HTTP client POST with NTLM
 authentication


  More info:

 What our proxy server application does (which works) for basic and digest
 authentication is the HTTP client to call the onheaderdata and
 onheaderend,
 ..., ondocend and onrequestdone so that it can pump the 401 headers as a
 tunnel. It is up to the client to send the 401 negotiation requests and
 finally the POST data which will be pumped to target web server. As I said
 this works fine for basic and digest but not for NTLM--the OnRequestDone
 is
 never called.

 HTH,

 SZ

 On Thu, Nov 4, 2010 at 7:45 PM, Fastream Technologies ga...@fastream.com
 wrote:

  Hello,

 I could not find a demo to test this but in our application when I set
 events, after the first NTLM 401 is returned the client does not fire the
 OnRequestDone event! Did anybody see or test this scenario?

 Regards,

 SZ

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

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

2010-11-05 Thread Arno Garrels
Hello Yuri,

 Fix for THttpCli.
 
 Bug:
 If we request THttpCli.Abort in OnDocData, after abort
 FReceiveLen-1 (Must 0). New request (THttpCli.Get) raise exception
 Access violation 

Thanks for the report.
I was able to reproduce and just checked in a fix, see svn revision #623.
Should be also available tomorrow in the zipped daily snapshot.  
http://wiki.overbyte.be/wiki/index.php/ICS_Download

-- 
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] Issue with HTTP client POST with NTLM authentication

2010-11-05 Thread Fastream Technologies
Hello all,

While I was trying to reproduce the presumed bug, I came across a few
strange things:

http://www.fastream.com/ics/ICSHTTPPOSTBugDemo.rar

(1.1MB, includes the client/server exes as well as the Delphi source code)

No matter what I enter into NTLM username and password, while you are
directly POSTing data in demo, it simply accepts the data! When accessed
(GET) from browser it is ok.

Also when I try the file upload option, even though I enter correct user
credentials it always rejects! All I did was to enable NTLM authentication
on the web server!!

Regards,

SZ

On Fri, Nov 5, 2010 at 11:31 AM, Fastream Technologies
ga...@fastream.comwrote:

 Hello,

 After I started building the demo you asked for, I get an AV at the new
 heartbeat function of the Web server demo. Please see the BCB project/Delphi
 source code below:

 http://www.fastream.com/ics/ICSBCBWebServerDemo.rar

 I have tried to delete all the package files etc with no joy. Any idea?

 Regards,

 SZ


 On Thu, Nov 4, 2010 at 10:57 PM, Francois PIETTE 
 francois.pie...@skynet.be wrote:

 You should build the smallest possible test program, preferably using
 Delphi, showing it doesn't work as expected.

 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be


 - Original Message - From: Fastream Technologies 
 ga...@fastream.com
 To: ICS support mailing twsocket@elists.org
 Sent: Thursday, November 04, 2010 6:57 PM
 Subject: Re: [twsocket] Issue with HTTP client POST with NTLM
 authentication


  More info:

 What our proxy server application does (which works) for basic and digest
 authentication is the HTTP client to call the onheaderdata and
 onheaderend,
 ..., ondocend and onrequestdone so that it can pump the 401 headers as a
 tunnel. It is up to the client to send the 401 negotiation requests and
 finally the POST data which will be pumped to target web server. As I
 said
 this works fine for basic and digest but not for NTLM--the OnRequestDone
 is
 never called.

 HTH,

 SZ

 On Thu, Nov 4, 2010 at 7:45 PM, Fastream Technologies 
 ga...@fastream.comwrote:

  Hello,

 I could not find a demo to test this but in our application when I set
 events, after the first NTLM 401 is returned the client does not fire
 the
 OnRequestDone event! Did anybody see or test this scenario?

 Regards,

 SZ

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




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