[twsocket] Bug and proposal for fix in TsslHttpCli using proxy

2010-02-17 Thread Bjørnar Nielsen
I have found a bug using https through proxy. After connect-command to the the proxy it answers back to the client 200 Connection established. I have come across some proxy-servers that answers 200 OK back to the client. This is a problem for TsslHttpCli. -- To unsubscribe or change your setti

Re: [twsocket] Bug and proposal for fix in TsslHttpCli using proxy

2010-02-17 Thread Bjørnar Nielsen
Sorry, sent to early. Here is the rest of the text. I got the version 706 of OverbyteIscHttpProt.pas toady. On line 3638 and 2629 is the source of the problem. When state is httpWaitingProxyConnect and if the answer from proxy contains 200 OK, then the process stops and nothing more happens. M

Re: [twsocket] OnDataAvailable event not firing for UDP client

2010-02-17 Thread Koker, Mohamed (GE Infra, Energy)
Hi Angus, I have modified my source code to be Unicode compliant and like I said before, the initial request packet is sent correctly. It's just the response packet that is never detected. Cheers -Mohamed -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@eli

Re: [twsocket] OnDataAvailable event not firing for UDP client

2010-02-17 Thread Angus Robertson - Magenta Systems Ltd
> I have a udp client for the TFTP protocol that has worked perfectly > since I first wrote it in 1999. > > Recently we upgraded to Delphi 2010 so I also upgraded to the V7 > source code. > > Unfortunately, things no longer work. Source written 10 years ago will not be aware of Unicode and will

[twsocket] OnDataAvailable event not firing for UDP client

2010-02-17 Thread Koker, Mohamed (GE Infra, Energy)
Hi All, I have a udp client for the TFTP protocol that has worked perfectly since I first wrote it in 1999. Recently we upgraded to Delphi 2010 so I also upgraded to the V7 source code. Unfortunately, things no longer work. I can send the initial request packet to the TFTP server (on the same c