Re: [twsocket] Bug in THttpCli--No OnRequestdone called after 304
Does anybody could see my message on the list? On Wed, Jan 21, 2009 at 9:19 PM, Fastream Technologies ga...@fastream.comwrote: Hello, The issue occurs with headers as Content-Length: 0 and status=304. Example site: http://www.cypressintegrated.com:8383 Please help! Cannot test pascal code from inside my BCB2007 project!! SZ -- Gorkem Ates Fastream Technologies Software IQ: Innovation Quality www.fastream.com | Email: supp...@fastream.com | Tel: +90-312-223-2830 | MSN: g_a...@hotmail.com Join IQWF Server Yahoo group at http://groups.yahoo.com/group/IQWFServer Join IQ Reverse Proxy Yahoo group at http://groups.yahoo.com/group/IQReverseProxy -- 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] ICS v7 uninstallable under BCB2007!
Fastream Technologies wrote: Hello, In the new charset unit, typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! Package installs fine, but project containing components such as THTtpserver and THttpcli does not compile. Please check latest SVN revision, #249 should have fixed 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] OverbyteIcsMimeUtils.pas - DoFileEncBase64
Piotr Dałek wrote: Hello! A reliable way to calculate More was More := Stream.Position Stream.Size; however that is slower since Stream.Size has to seek to the end of the stream and the back to current position on each call of DoFileEncBase64(). (Instead of Stream.Size we could also check against file size, however only with ShareMode fmShareDenyWrite). var LocalStreamSize: integer; [..] LocalStreamSize := Stream.Size; [..] More := Stream.Position LocalStreamSize; [..] Problem solved. I do not get this, sorry. Please elaborate. Get the stream size only once - store it somewhere and use stored value instead of calling Stream.Size getter. OK, but what will happen if the stream size changes during encoding, if for instance the component user opened the file with ShareMode fmShareDenyRead? That's why I added public property Mode to the TBufferedFileStream class and check the ShareMode in DoFileEncBase64,. in case of no problem TBufferedFileStream(Stream).FastSize is called (which is current, constant size), otherwise Stream.Size (which is slow, but who will actually open a file to be sent with ShareMode fmShareDenyRead only ? I guess not many). The only reason for this is creating attachment (file to be encoded) while it is actually encoded, but then, using the mechanism available in ICS is a waste of disk space (already encoded original data still reside on disk). I think that all users will use simple files containing ready data that is not going to be changed during encode process. Supporting other scenarions is overkill, at least for me. If you don't agree, then what if you buffer (in TBufferedFileStream) 1024 bytes, encode first 50, then (somehow) next 100 bytes changes? You still have outdated 100 bytes in the buffer. Then what? Bug, no matter what! So why should you care about size change, if you don't care about actual file changes? I don't think that you're going to support *that* scenario. True :) But unfortunately it is possible to set fmShareDenyRead and fmShareDenyNone:( I wish there were just two ShareModes provided, fmShareDenyWrite and fmShareExclusive. -- Arno Garrels -- Piotr Dałek enigmati...@interia.pl -- Promocja w Speak Up. 3 miesiace angielskiego gratis. Sprawdz teraz i wypelnij formularz! http://link.interia.pl/f2019 -- 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] ICS v7 uninstallable under BCB2007!
I downloaded from svn yesterday! Did you check it yourself? Is there anyone else using BCB2007? Regards, SZ On Thu, Jan 22, 2009 at 11:24 AM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Hello, In the new charset unit, typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! Package installs fine, but project containing components such as THTtpserver and THttpcli does not compile. Please check latest SVN revision, #249 should have fixed 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 -- 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] ICS v7 uninstallable under BCB2007!
Fastream Technologies wrote: I downloaded from svn yesterday! Did you check it yourself? Is there anyone else using BCB2007? Strange, I can build both the C++ Builder package and the HttpTst demo. And the demo works. -- Arno Garrels Regards, SZ On Thu, Jan 22, 2009 at 11:24 AM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Hello, In the new charset unit, typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! Package installs fine, but project containing components such as THTtpserver and THttpcli does not compile. Please check latest SVN revision, #249 should have fixed 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 -- 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] Bug in THttpCli--No OnRequestdone called after 304
Fastream Technologies wrote: Does anybody could see my message on the list? Yes, however OnRequestDone triggers in my test: Not using proxy cmd GET / HTTP/1.1 cmd Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* cmd Accept-Language: en, fr cmd User-Agent: Mozilla/3.0 (compatibel) cmd Host: www.cypressintegrated.com:8383 cmd If-Modified-Since: Wed, 12 Nov 2008 03:43:42 GMT cmd Header: HTTP/1.1 304 Not Modified Header: Server: IceWarp/8.3 Header: Date: Thu, 22 Jan 2009 10:58:49 GMT Header: Content-Length: 0 RequestDone, no error. Status =304 StatusCode = 304 hdrHTTP/1.1 304 Not Modified hdrServer: IceWarp/8.3 hdrDate: Thu, 22 Jan 2009 10:58:49 GMT hdrContent-Length: 0 On Wed, Jan 21, 2009 at 9:19 PM, Fastream Technologies ga...@fastream.comwrote: Hello, The issue occurs with headers as Content-Length: 0 and status=304. Example site: http://www.cypressintegrated.com:8383 Please help! Cannot test pascal code from inside my BCB2007 project!! SZ -- Gorkem Ates Fastream Technologies Software IQ: Innovation Quality www.fastream.com | Email: supp...@fastream.com | Tel: +90-312-223-2830 | MSN: g_a...@hotmail.com Join IQWF Server Yahoo group at http://groups.yahoo.com/group/IQWFServer Join IQ Reverse Proxy Yahoo group at http://groups.yahoo.com/group/IQReverseProxy -- 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] Sorry guys! ICS v7 THttpCli OnBeforeHeaderSend back again.
Hi, Unfortunately I removed the OnBeforeHeaderSend event when I added digest authentication recently to V7 :( It's now back again! -- 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] ICS v7 uninstallable under BCB2007!
Could you try with the ssl Web server demo? On Thu, Jan 22, 2009 at 1:18 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: I downloaded from svn yesterday! Did you check it yourself? Is there anyone else using BCB2007? Strange, I can build both the C++ Builder package and the HttpTst demo. And the demo works. -- Arno Garrels Regards, SZ On Thu, Jan 22, 2009 at 11:24 AM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Hello, In the new charset unit, typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! Package installs fine, but project containing components such as THTtpserver and THttpcli does not compile. Please check latest SVN revision, #249 should have fixed 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 -- -- 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] ICS v7 uninstallable under BCB2007!
Fastream Technologies wrote: Could you try with the ssl Web server demo? I have no C++ Builder SSL web server demo at hand, however the non SSL WebServ demo works fine. typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! I changed the declaration from _CPINFOEXA to _cpinfoexA etc. that's why I'm sure that you are not using current revision. On Thu, Jan 22, 2009 at 1:18 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: I downloaded from svn yesterday! Did you check it yourself? Is there anyone else using BCB2007? Strange, I can build both the C++ Builder package and the HttpTst demo. And the demo works. -- Arno Garrels Regards, SZ On Thu, Jan 22, 2009 at 11:24 AM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Hello, In the new charset unit, typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! Package installs fine, but project containing components such as THTtpserver and THttpcli does not compile. Please check latest SVN revision, #249 should have fixed 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 -- -- 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] Bug in THttpCli--No OnRequestdone called after 304
I see the point now--I missed the fix of, else CheckDelaySetReady; { 09/26/08 ML } in getheaderlinenext() since I could not upgrade to v7 due to BCB2007 incompatibility. THANKS, SZ On Thu, Jan 22, 2009 at 1:18 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Does anybody could see my message on the list? Yes, however OnRequestDone triggers in my test: Not using proxy cmd GET / HTTP/1.1 cmd Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* cmd Accept-Language: en, fr cmd User-Agent: Mozilla/3.0 (compatibel) cmd Host: www.cypressintegrated.com:8383 cmd If-Modified-Since: Wed, 12 Nov 2008 03:43:42 GMT cmd Header: HTTP/1.1 304 Not Modified Header: Server: IceWarp/8.3 Header: Date: Thu, 22 Jan 2009 10:58:49 GMT Header: Content-Length: 0 RequestDone, no error. Status =304 StatusCode = 304 hdrHTTP/1.1 304 Not Modified hdrServer: IceWarp/8.3 hdrDate: Thu, 22 Jan 2009 10:58:49 GMT hdrContent-Length: 0 On Wed, Jan 21, 2009 at 9:19 PM, Fastream Technologies ga...@fastream.comwrote: Hello, The issue occurs with headers as Content-Length: 0 and status=304. Example site: http://www.cypressintegrated.com:8383 Please help! Cannot test pascal code from inside my BCB2007 project!! SZ -- Gorkem Ates Fastream Technologies Software IQ: Innovation Quality www.fastream.com | Email: supp...@fastream.com | Tel: +90-312-223-2830 | MSN: g_a...@hotmail.com Join IQWF Server Yahoo group at http://groups.yahoo.com/group/IQWFServer Join IQ Reverse Proxy Yahoo group at http://groups.yahoo.com/group/IQReverseProxy -- 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] ICS v7 uninstallable under BCB2007!
Ok but now another problem: Downloaded latest v7, tried to compile the package with the definition NO_ADVANCED_HTTP_CLIENT_FEATURES and httprot fails due to digest auth being not ifdef'ed problem! Regards, SZ On Thu, Jan 22, 2009 at 1:53 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Could you try with the ssl Web server demo? I have no C++ Builder SSL web server demo at hand, however the non SSL WebServ demo works fine. typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! I changed the declaration from _CPINFOEXA to _cpinfoexA etc. that's why I'm sure that you are not using current revision. On Thu, Jan 22, 2009 at 1:18 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: I downloaded from svn yesterday! Did you check it yourself? Is there anyone else using BCB2007? Strange, I can build both the C++ Builder package and the HttpTst demo. And the demo works. -- Arno Garrels Regards, SZ On Thu, Jan 22, 2009 at 11:24 AM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: Hello, In the new charset unit, typedef _CPINFOEXA *PCPInfoExA; E2227 needs a comma! Package installs fine, but project containing components such as THTtpserver and THttpcli does not compile. Please check latest SVN revision, #249 should have fixed 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 -- -- -- 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] breakpoint in NTDll
Hoby Smith wrote: Anyway, if that is the case, there is nothing you can do but just live with it or upgrade the OS. :) Actually you can, see OverbyteIcsNtlmSsp.pas: { Get rid of some ntdll.DbgBreakPoints M$ forgot to remove from their DLLs } { popping up the CPU window. Written by Francois Piette, published 2002 in } { HowToDoThings website, based on code written by Pete Morris. } { Tiny change by myself - to be very correct ;-)} procedure PatchINT3; var NOP : Byte; NTDLL: THandle; BytesWritten : DWORD; Address : Pointer; begin if Win32Platform VER_PLATFORM_WIN32_NT then Exit; NTDLL := GetModuleHandle('NTDLL.DLL'); if NTDLL = 0 then Exit; Address := GetProcAddress(NTDLL, 'DbgBreakPoint'); if Address = nil then Exit; try if Byte(Address^) $CC then Exit; NOP := $90; if WriteProcessMemory(GetCurrentProcess, Address, @NOP, 1, BytesWritten) and (BytesWritten = 1) then FlushInstructionCache(GetCurrentProcess, Address, 1); except //Do not panic if you see an EAccessViolation here, it is perfectly harmless! on EAccessViolation do ; else raise; end; end; initialization if DebugHook 0 then PatchINT3; -- 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] breakpoint in NTDll
Hello Arno, This is interesting. If I see it clear you change the int 3 with a nop instruction. The only strange thing is, that I never had that problem (win xp sp3, D7), but it could be by a recent upgrade service pack maibe... --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, January 22, 2009, 13:13, Arno Garrels wrote: Hoby Smith wrote: Anyway, if that is the case, there is nothing you can do but just live with it or upgrade the OS. :) Actually you can, see OverbyteIcsNtlmSsp.pas: { Get rid of some ntdll.DbgBreakPoints M$ forgot to remove from their DLLs } { popping up the CPU window. Written by Francois Piette, published 2002 in } { HowToDoThings website, based on code written by Pete Morris. { Tiny change by myself - to be very correct ;-) procedure PatchINT3; var NOP : Byte; NTDLL: THandle; BytesWritten : DWORD; Address : Pointer; begin if Win32Platform VER_PLATFORM_WIN32_NT then Exit; NTDLL := GetModuleHandle('NTDLL.DLL'); if NTDLL = 0 then Exit; Address := GetProcAddress(NTDLL, 'DbgBreakPoint'); if Address = nil then Exit; try if Byte(Address^) $CC then Exit; NOP := $90; if WriteProcessMemory(GetCurrentProcess, Address, @NOP, 1, BytesWritten) and (BytesWritten = 1) then FlushInstructionCache(GetCurrentProcess, Address, 1); except //Do not panic if you see an EAccessViolation here, it is perfectly harmless! on EAccessViolation do ; else raise; end; end; initialization if DebugHook 0 then PatchINT3; -- 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] ICS v7 uninstallable under BCB2007!
Fastream Technologies wrote: Ok but now another problem: Downloaded latest v7, tried to compile the package with the definition NO_ADVANCED_HTTP_CLIENT_FEATURES and httprot fails due to digest auth being not ifdef'ed problem! Arrgh, this must have happend when I finally removed some test code, thanks. Just checked in a fix. -- 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
[twsocket] Pause and Resume just not working!
Hi ICS Mailinglist, I use the V6 Rev1 ICS TWSocket and have a issue with buffering somewhere in ICS and/or Winsock. On localhost or in my local LAN, if I have there a stream to my ICS Server which just pushes data, like the DATA-TCP Connection of ftp, then all data is sent just in some seconds with a amazing transferrate and is buffered somewhere. I can see via Breakpoint hat the data is then received by the function {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} function WSocket_Synchronized_recv(s: TSocket; var Buf: TWSocketData; len, flags: Integer): Integer; begin if @FRecv= nil then @FRecv := WSocketGetProc('recv'); Result := FRecv(s, Buf^, len, flags); end; {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} of ICS. Cause FRecv is the Winsock recv Function, wich is NOT from ICS, so I think it must be something inside of Windows and/or Winsock that causes this problem. Does anybody have an idear what here does Buffer Megabytes of TCP Data? Any idear why I can prevent it from that? I investigated the Source, and it is NOT a problem of the TCustomWSocket.ASyncReceive function! The problem with this is, that if I make FTP over my Proxyserver (= ICS Server) the FTP Clients runs into a timeout: For the FTP Client it looks that all data arrived and the positive Answer is missing, but all the Data is just in some local buffer... My Goal is to slow down the connection via TWSocket.pause;. But if I do this I just don't get further data from the big Buffer of Winsock The data is in it if I want or not. Thanks for any help! Regards, Markus Mueller -- 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] ICS group on social network LinkedIn and FaceBook
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] Pause and Resume just not working!
Hello again I realy don't know why, but on a different machine there is this buffering with unchanged source code NOT. Maybe its my virusscanner or something like this... Sorry for any convenience ende?lp=endep=thMx..search=convenience this may cause... Regards, Markus Mueller Hi ICS Mailinglist, I use the V6 Rev1 ICS TWSocket and have a issue with buffering somewhere in ICS and/or Winsock. On localhost or in my local LAN, if I have there a stream to my ICS Server which just pushes data, like the DATA-TCP Connection of ftp, then all data is sent just in some seconds with a amazing transferrate and is buffered somewhere. I can see via Breakpoint hat the data is then received by the function {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} function WSocket_Synchronized_recv(s: TSocket; var Buf: TWSocketData; len, flags: Integer): Integer; begin if @FRecv= nil then @FRecv := WSocketGetProc('recv'); Result := FRecv(s, Buf^, len, flags); end; {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} of ICS. Cause FRecv is the Winsock recv Function, wich is NOT from ICS, so I think it must be something inside of Windows and/or Winsock that causes this problem. Does anybody have an idear what here does Buffer Megabytes of TCP Data? Any idear why I can prevent it from that? I investigated the Source, and it is NOT a problem of the TCustomWSocket.ASyncReceive function! The problem with this is, that if I make FTP over my Proxyserver (= ICS Server) the FTP Clients runs into a timeout: For the FTP Client it looks that all data arrived and the positive Answer is missing, but all the Data is just in some local buffer... My Goal is to slow down the connection via TWSocket.pause;. But if I do this I just don't get further data from the big Buffer of Winsock The data is in it if I want or not. Thanks for any help! Regards, Markus Mueller -- 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] Pause and Resume just not working!
Sorry... I must correct myself again... The problem is still there, on machine with 1,4 Ghz it buffers sometime within 2-4 MByte before socket.pause does help, my 3 Ghz Dualcore seems to buffer also hunderts of MByte... Hello again I realy don't know why, but on a different machine there is this buffering with unchanged source code NOT. Maybe its my virusscanner or something like this... Sorry for any convenience ende?lp=endep=thMx..search=convenience this may cause... Regards, Markus Mueller Hi ICS Mailinglist, I use the V6 Rev1 ICS TWSocket and have a issue with buffering somewhere in ICS and/or Winsock. On localhost or in my local LAN, if I have there a stream to my ICS Server which just pushes data, like the DATA-TCP Connection of ftp, then all data is sent just in some seconds with a amazing transferrate and is buffered somewhere. I can see via Breakpoint hat the data is then received by the function {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} function WSocket_Synchronized_recv(s: TSocket; var Buf: TWSocketData; len, flags: Integer): Integer; begin if @FRecv= nil then @FRecv := WSocketGetProc('recv'); Result := FRecv(s, Buf^, len, flags); end; {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} of ICS. Cause FRecv is the Winsock recv Function, wich is NOT from ICS, so I think it must be something inside of Windows and/or Winsock that causes this problem. Does anybody have an idear what here does Buffer Megabytes of TCP Data? Any idear why I can prevent it from that? I investigated the Source, and it is NOT a problem of the TCustomWSocket.ASyncReceive function! The problem with this is, that if I make FTP over my Proxyserver (= ICS Server) the FTP Clients runs into a timeout: For the FTP Client it looks that all data arrived and the positive Answer is missing, but all the Data is just in some local buffer... My Goal is to slow down the connection via TWSocket.pause;. But if I do this I just don't get further data from the big Buffer of Winsock The data is in it if I want or not. Thanks for any help! Regards, Markus Mueller -- 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