Re: [twsocket] HTTP relocation

2012-11-30 Thread Stan
implementation. Best wishes, Stan - Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Friday, November 30, 2012 7:13 PM Subject: [twsocket] HTTP relocation = Connected to: www.cytauk.com GET / HTTP/1.0 Host: www.cytauk.com < HTTP/1.1 302 Move

[twsocket] HTTP relocation

2012-11-30 Thread Angus Robertson - Magenta Systems Ltd
= Connected to: www.cytauk.com > GET / HTTP/1.0 > Host: www.cytauk.com < HTTP/1.1 302 Moved Temporarily < Location: ./cytauk2/ = Connected to: www.cytauk.com > GET /./cytauk2/ HTTP/1.0 > Host: www.cytauk.com < HTTP/1.1 404 Not Found Firefox seems to redirect to www.cytauk.com/cytauk2/ ignoring the

Re: [twsocket] HTTP server...

2012-07-21 Thread zayin
Hello, Thanks. It looks like: AnswerString(Flags,'204 No Content','','',''); works fine. Ciao, Mark -- 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] HTTP server...

2012-07-21 Thread RTT
On 21-07-2012 21:22, zayin wrote: I was wondering if there is a better solution. Some answer code that tells the browser the data was received but not to change page or to reload the button host page. http://www.w3schools.com/ajax/default.asp -- To unsubscribe or change your settings for TWSocke

[twsocket] HTTP server...

2012-07-21 Thread zayin
Hello, A user will be on a page. He will click a button and I will receive a URL with some parameters. All good. Now, I do not have a page to show him. The URL is only for passing in the parameters. The URL for the page passing the parameters and the current page are not the same. The URL for pas

Re: [twsocket] HTTP server component with WebDav support

2012-02-03 Thread Tobias Rapp
Arno Garrels wrote: > This is untested: > http://lists.elists.org/pipermail/twsocket/2012-January/044464.html Oops, just skipped following the ICS mailing list for some days and thus have not seen the previous message. Thanks, Arno! Will have a look at it. Regards, Tobias -- To unsubscribe or c

Re: [twsocket] HTTP server component with WebDav support

2012-02-03 Thread Arno Garrels
Tobias Rapp wrote: > Hi! > > I would like to extend my existing ICS-based HTTP server to allow > upload and removal of files on the server. From reading the HTTP > specs at [1] it seems that the natural commands for these actions > would be "PUT" [2] and "DELETE" [3]. > > Unfortunately the THttpS

[twsocket] HTTP server component with WebDav support

2012-02-03 Thread Tobias Rapp
Hi! I would like to extend my existing ICS-based HTTP server to allow upload and removal of files on the server. From reading the HTTP specs at [1] it seems that the natural commands for these actions would be "PUT" [2] and "DELETE" [3]. Unfortunately the THttpServer/THttpConnection components do

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-14 Thread ROQUES Guillaume
http://lists.elists.org/cgi-**bin/mailman/listinfo/twsocket<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

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-10 Thread ROQUES Guillaume
property SslPrivKeyFile should point to it. BTW: If you would not eat exceptions you would have got that error message sooner and easier. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-**bin/mailman/listinfo/twsocket<http://lists

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-08 Thread Arno Garrels
SL... > > Paul > > > > > - Original Message - > From: "Arno Garrels" > To: "ICS support mailing" > Sent: Thursday, October 06, 2011 4:53 PM > Subject: Re: [twsocket] HTTP SSL Server vs p7b certificate's format > > >> ROQUES Guillaume

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-07 Thread Fastream Technologies
your case and property SslPrivKeyFile should >> point to it. >> >> BTW: If you would not eat exceptions you would have got that error >> message sooner and easier. >> >> -- > > To unsubscribe or change your settings for TWSocket mailing list > please goto >

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-07 Thread Arno Garrels
ROQUES Guillaume wrote: > So as my customer bought a wildcard certificate, it must include a > private key or do I need to generate one ? When you order a certificate the private key is generated locally by a browser plugin, JAVA or ActiveX, it's true private and not even the certificate issuer kn

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-07 Thread ROQUES Guillaume
So as my customer bought a wildcard certificate, it must include a private key or do I need to generate one ? Actually, the problem comes from me or the customer ? Gratefully, Guillaume ROQUES Le 20:59, Arno Garrels a écrit : ROQUES Guillaume wrote: And ICS logger sa

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-06 Thread Paul
support mailing" Sent: Thursday, October 06, 2011 4:53 PM Subject: Re: [twsocket] HTTP SSL Server vs p7b certificate's format ROQUES Guillaume wrote: And ICS logger says : 15:57:49:896 InitCtx> OpenSSL version: OpenSSL 0.9.8h 28 May 2008 15:57:49:897 error:0906D06C:PEM routines:PEM_

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-06 Thread Arno Garrels
ROQUES Guillaume wrote: > And ICS logger says : >> 15:57:49:896 InitCtx> OpenSSL version: OpenSSL 0.9.8h 28 May 2008 >> 15:57:49:897 error:0906D06C:PEM routines:PEM_read_bio:no start line >> error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib > So I checked MyCertificate.pem and I've g

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-06 Thread ROQUES Guillaume
I tried mycertificate with the OverbyteIcsSslWebServ demo : * httpserver responding * sslhttpserver not responding * sslhandshake failed _ Configuration :_ * Write to log file : ON * Display header : ON * Display SSL info : ON * ICS logger.logoptions := [loSslErr,loSslInfo,loSslDump]; I

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-06 Thread ROQUES Guillaume
If that doesn't help, use a TIcsLogger to get a full debug log and send that to me if you don't find the error yourself. So I tried a few things with ICS logger ON, but no answers. First Delphi code to intialize TSSLContext : with MySslContext do begin SslCertFile

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-05 Thread Arno Garrels
ROQUES Guillaume wrote: >> What client is connecting >> when that error happens? > IE 7 to 9 or Firefox > But none ask to add certificate, both say that the site is > unreachablesounds weird I know T_T Have you tried newer OpenSSL libraries? http://wiki.overbyte.be/wiki/index.php/ICS_Downloa

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-05 Thread ROQUES Guillaume
What client is connecting when that error happens? IE 7 to 9 or Firefox But none ask to add certificate, both say that the site is unreachablesounds weird I know T_T Cordialement, Guillaume ROQUES Le 20:59, Arno Garrels a écrit : ROQUES Guillaume wrote: Do you

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-05 Thread Arno Garrels
ROQUES Guillaume wrote: >> Do you ask for how to get a ICS TSslHttpServer working with a bought >> server certificate? > Yes, and if I need to convert p7b's certificate or not ? >> Open the MyCertificate.pem in a text editor that understands UNIX >> line breaks. Does MyCertificate.pem include multi

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-04 Thread ROQUES Guillaume
Do you ask for how to get a ICS TSslHttpServer working with a bought server certificate? Yes, and if I need to convert p7b's certificate or not ? Open the MyCertificate.pem in a text editor that understands UNIX line breaks. Does MyCertificate.pem include multiple certificates? With a bought com

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-04 Thread Arno Garrels
ROQUES Guillaume wrote: >> That's confusing description. Did he buy a SSL server certificate in >> order to access your server? Or are you talking about client >> certificates? > The customer already have a SSL certificate on his domain, so he want > that my HttpServer use SSL with this certifica

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-04 Thread ROQUES Guillaume
That's confusing description. Did he buy a SSL server certificate in order to access your server? Or are you talking about client certificates? The customer already have a SSL certificate on his domain, so he want that my HttpServer use SSL with this certificate. Please provide more details ab

Re: [twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-03 Thread Arno Garrels
ROQUES Guillaume wrote: > Hi everyone, > > I use ICS HTTPServer via SSL and a Self-Signed certificate (It is OK > for an internal use). One of my customer had to access our Web server > from outside and bought a ceritificate to a Certificate Authority > (GlobalSign) in p7b format. That's confusin

[twsocket] HTTP SSL Server vs p7b certificate's format

2011-10-03 Thread ROQUES Guillaume
Hi everyone, I use ICS HTTPServer via SSL and a Self-Signed certificate (It is OK for an internal use). One of my customer had to access our Web server from outside and bought a ceritificate to a Certificate Authority (GlobalSign) in p7b format. Could you explain me if I have to convert this f

Re: [twsocket] HTTP 401 missing header line

2011-09-19 Thread Maurizio Lotauro
Scrive Wilfried Mestdagh : > Hi Angus, > > Yes indeed, I found out already. The authentication is an argument in the > POST command. When it is invalid or missing the server returns a 401 with > the missing header line. Is that a bug in the server? Probably it is a bug in the server. The applica

Re: [twsocket] HTTP 401 missing header line

2011-09-18 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> The authentication is an argument in the POST command. When it is >> invalid or missing the server returns a 401 with >> the missing header line. Is that a bug in the server? > > The two SMS providers I'm testing provide a range of error messages > i

Re: [twsocket] HTTP 401 missing header line

2011-09-18 Thread Angus Robertson - Magenta Systems Ltd
> The authentication is an argument in the POST command. When it is > invalid or missing the server returns a 401 with > the missing header line. Is that a bug in the server? The two SMS providers I'm testing provide a range of error messages including bad authentication or no credit, but not 401.

Re: [twsocket] HTTP 401 missing header line

2011-09-18 Thread Wilfried Mestdagh
://www.expertsoftware.be > -Oorspronkelijk bericht- > Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] > Namens Angus Robertson - Magenta Systems Ltd > Verzonden: zondag 18 september 2011 15:10 > Aan: twsocket@elists.org > Onderwerp: Re: [twsocket] HTTP

Re: [twsocket] HTTP 401 missing header line

2011-09-18 Thread Angus Robertson - Magenta Systems Ltd
> I'm trying to POST to a server that needs authentication. I expect > a 401 from the server with in the header something like: > WWW-Authenticate: Basic Realm=/something This is a pure guess, but maybe the WWW-Authenticate header is only returned for GET requests, with POST you are supposed to k

[twsocket] HTTP 401 missing header line

2011-09-18 Thread Wilfried Mestdagh
Hello, I'm trying to POST to a server that needs authentication. I expect a 401 from the server with in the header something like: WWW-Authenticate: Basic Realm=/something But it is not in the response. Also what does the 'connection: close' mean? I think the THttpCli does not send an authenticat

Re: [twsocket] HTTP Client POST under WinXPSP3 issue

2011-08-16 Thread Fastream Technologies
Basically this is my code. It works on Win7/2008 for POST as well as for GET/HEAD (which return just 403) but under XPSP3 GET/HEAD still works from browser but the POST fails. Just returns nothing--as if it is aborted. I do not have debugger on the XP machine but one thing very strange is it works

Re: [twsocket] HTTP Client POST under WinXPSP3 issue

2011-08-16 Thread Fastream Technologies
No, it must be with THttpServer on very fast (say local) connections. With Wireshark I can see the data does not reach the client and it timeouts. Regards, SZ On Mon, Aug 15, 2011 at 12:49, Fastream Technologies wrote: > I think you are right. However there is an issue in my code in service > ap

Re: [twsocket] HTTP Client POST under WinXPSP3 issue

2011-08-15 Thread Fastream Technologies
I think you are right. However there is an issue in my code in service application mode. I believe it should be something related with Windows account permissions but not sure... Regards, SZ On Mon, Aug 15, 2011 at 12:22, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > We

Re: [twsocket] HTTP Client POST under WinXPSP3 issue

2011-08-15 Thread Angus Robertson - Magenta Systems Ltd
> We have an important issue with HTTPClient: Only under WinXP, when > I POST > data to an ICS server, it returns StatusCode = 0 and empty > RcvdStream! Has anybody seen this behavior before? No, my public web site is using the latest ICS v7 snapshot and POST works fine from Windows XP with MSI

Re: [twsocket] HTTP Client POST under WinXPSP3 issue

2011-08-15 Thread Fastream Technologies
Well, it turned out to be an ICS web server issue on XP as the client works well with other IPs. Also the server engine debug exe (which is just the service code wrapped in simple GUI) also works yet the service! I cannot access the Services section of Windows too--gives error about ActiveX. The in

[twsocket] HTTP Client POST under WinXPSP3 issue

2011-08-15 Thread Fastream Technologies
Hello, We have an important issue with HTTPClient: Only under WinXP, when I POST data to an ICS server, it returns StatusCode = 0 and empty RcvdStream! Has anybody seen this behavior before? I am using the latest snapshot of yesterday (v7). Regards, SZ -- To unsubscribe or change your settings fo

Re: [twsocket] HTTP Server creates extremly high CPU load

2011-07-02 Thread Arno Garrels
01, 2011 8:35 AM >> To: ICS support mailing >> Subject: Re: [twsocket] HTTP Server creates extremly high CPU load >> >> Lars Gehre wrote: >>> I think, I found something. >> >> Thanks for reporting, I just checked in a fix. >> Available via SVN

Re: [twsocket] HTTP Server creates extremly high CPU load

2011-07-02 Thread Lars Gehre
Thanks, I can confirm, it works now without problems. Lars > -Original Message- > From: twsocket-boun...@elists.org > [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels > Sent: Friday, July 01, 2011 8:35 AM > To: ICS support mailing > Subject: Re: [tws

Re: [twsocket] HTTP Server creates extremly high CPU load

2011-06-30 Thread Arno Garrels
; > might be a solution, but I don't know enough of the inner workings of > the http component to foresee possible side effects... > > Lars > > > >> -Original Message- >> From: twsocket-boun...@elists.org >> [mailto:twsocket-boun...@elists.org] On Behal

Re: [twsocket] HTTP Server creates extremly high CPU load

2011-06-30 Thread Lars Gehre
e side effects... Lars > -Original Message- > From: twsocket-boun...@elists.org > [mailto:twsocket-boun...@elists.org] On Behalf Of Lars Gehre > Sent: Thursday, June 30, 2011 9:49 PM > To: 'ICS support mailing' > Subject: Re: [twsocket] HTTP Server create

Re: [twsocket] HTTP Server creates extremly high CPU load

2011-06-30 Thread Lars Gehre
Behalf Of Arno Garrels > Sent: Thursday, June 30, 2011 3:49 PM > To: ICS support mailing > Subject: Re: [twsocket] HTTP Server creates extremly high CPU load > > Lars Gehre wrote: > > I noticed one thing: This only happens if files are involved, for > > virtual documen

Re: [twsocket] HTTP Server creates extremly high CPU load

2011-06-30 Thread Arno Garrels
t; From: twsocket-boun...@elists.org >> [mailto:twsocket-boun...@elists.org] On Behalf Of Lars Gehre >> Sent: Thursday, June 30, 2011 11:21 AM >> To: 'ICS support mailing' >> Subject: [twsocket] HTTP Server creates extremly high CPU load >> >> Hell

Re: [twsocket] HTTP Server creates extremly high CPU load

2011-06-30 Thread Lars Gehre
s.org] On Behalf Of Lars Gehre > Sent: Thursday, June 30, 2011 11:21 AM > To: 'ICS support mailing' > Subject: [twsocket] HTTP Server creates extremly high CPU load > > Hello all, > > I have a serious problem with the http server component from > ICS7 (download

[twsocket] HTTP Server creates extremly high CPU load

2011-06-30 Thread Lars Gehre
Hello all, I have a serious problem with the http server component from ICS7 (downloaded from the repository last week). I'm using the wininet api on the client side to open a (GET) connection to a ICS http Server. For certain reasons I need to query the HEAD in intervals (while the other get is

[twsocket] HTTP client 100% CPU usage and no timeout issue

2011-05-09 Thread Fastream Technologies
Hello, I am not sure whether 100% CPU usage is component originated but sometimes the below code does not timeout: sendStream = new TMemoryStream(); receivedStream = new TMemoryStream(); HTTPClient = new TSslHttpCli(NULL); sslContext = new TSslContext(NULL); HTTPClient->C

Re: [twsocket] HTTP...

2011-03-19 Thread zayin
Hello, >http://www.cs.cf.ac.uk/Dave/PERL/node201.html >Use ICS ExtractURLEncodedValue function to decode these parameters Thanks for the link and the function. Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/

Re: [twsocket] HTTP...

2011-03-18 Thread RTT
On 18-03-2011 17:03, zayin wrote: It all shows up fine but when the user hits the accept button I get back the 'Tagname' with the added '+ ' symbols " Stop+Pump+CRT". Why not just " Stop Pump CRT"? http://www.cs.cf.ac.uk/Dave/PERL/node201.html Use ICS ExtractURLEncodedValue function to decode t

[twsocket] HTTP...

2011-03-18 Thread zayin
Hi, I am used the THttpServer and all is going well. This is a page that I create. XYZ Home  Digital Tags Stop Pump CRT True False response: 'Tagname=Stop+Pump+CRT&ItemID=5007&TFRadio=1&AcceptBtn=Accept' It all shows up fine but when the use

Re: [twsocket] HTTP persistent connections

2011-03-07 Thread Arno Garrels
RTT wrote: > On 07-03-2011 06:31, Arno Garrels wrote: >> TWSocket property KeepAliveOnOff may be used to setup winsock to send >> keep-alive packets in the background in order to detect such brocken >> connections, however that's not reliable since both peers must >> support it and routers have to

Re: [twsocket] HTTP persistent connections

2011-03-07 Thread Arno Garrels
RTT wrote: > On 07-03-2011 06:31, Arno Garrels wrote: >> That's sounds like a bug. I would expect that THttpCli is reset to >> default values after that error? > I don't see any reference to "10053" in any of the ICS code, so I > suppose this situation is not being handled internally by the > THtt

Re: [twsocket] HTTP persistent connections

2011-03-07 Thread RTT
On 07-03-2011 06:31, Arno Garrels wrote: TWSocket property KeepAliveOnOff may be used to setup winsock to send keep-alive packets in the background in order to detect such brocken connections, however that's not reliable since both peers must support it and routers have to route the keep-alive pa

Re: [twsocket] HTTP persistent connections

2011-03-07 Thread RTT
On 07-03-2011 06:31, Arno Garrels wrote: That's sounds like a bug. I would expect that THttpCli is reset to default values after that error? I don't see any reference to "10053" in any of the ICS code, so I suppose this situation is not being handled internally by the THttpCli. Because the THttp

Re: [twsocket] HTTP persistent connections

2011-03-06 Thread Arno Garrels
RTT wrote: > Isn't the CtrlSocket.State reliable to know if a connection is still > on? No it isn't. Whether or not a connection is still alive can only be known if either the FD_CLOSE notification from winsock is received or an attempt to send or receive failed or succeeded. For example, unplug

[twsocket] HTTP persistent connections

2011-03-06 Thread RTT
Isn't the CtrlSocket.State reliable to know if a connection is still on? I'm trying to reuse an THttpCli, but I'm getting 10053 errors if a persistent connection is idle for some time, I suppose the server keepalive timeout. The ICS THttpCli code check this CtrlSocket.State property, to try to

Re: [twsocket] [OT] Testing TWSocket HTTP tunnel feature

2011-02-24 Thread Fastream Technologies
In my tests, I saw that Java (client) has a long time digest auth bug too. Regards, SZ On Thu, Feb 24, 2011 at 9:33 PM, Arno Garrels wrote: > Arno Garrels wrote: > > Hi, > > > > Has anybody here got Digest authentication working mith MS ISA Server > > 2006? I already waisted hours to enable it

Re: [twsocket] [OT] Testing TWSocket HTTP tunnel feature

2011-02-24 Thread Arno Garrels
Arno Garrels wrote: > Hi, > > Has anybody here got Digest authentication working mith MS ISA Server > 2006? I already waisted hours to enable it with the web proxy. > Neither IE nor Firefox got authenticated (407). I already checked > option "Store password using reversible encryption" in the user

Re: [twsocket] Testing TWSocket HTTP tunnel feature

2011-02-24 Thread Fastream Technologies
Not sure with ISA 2006 but IQP 5.0 supports digest authentication (that works) for CONNECT. Regards, SZ On Thu, Feb 24, 2011 at 1:09 PM, Arno Garrels wrote: > Hi, > > Has anybody here got Digest authentication working mith MS ISA Server 2006? > I already waisted hours to enable it with the web

[twsocket] Testing TWSocket HTTP tunnel feature

2011-02-24 Thread Arno Garrels
Hi, Has anybody here got Digest authentication working mith MS ISA Server 2006? I already waisted hours to enable it with the web proxy. Neither IE nor Firefox got authenticated (407). I already checked option "Store password using reversible encryption" in the user properties and also tried to re

Re: [twsocket] HTTP protocol issue

2010-05-23 Thread Fastream Technologies
Hi again, I think I found a solution: when GZip is in place, I remove the content-range response header line and just use content-length and content-encoding. Seems to work... Regards, SZ On Sun, May 23, 2010 at 4:27 PM, Fastream Technologies wrote: > Oops, I mixed the "Content-range" response

Re: [twsocket] HTTP protocol issue

2010-05-23 Thread Fastream Technologies
Oops, I mixed the "Content-range" response header with "Range" request header. Other than that the issue still remains. On Sun, May 23, 2010 at 4:24 PM, Fastream Technologies wrote: > Hello, > > I have a question: Let's say the request has Content-Range: 50-100 for a > file of length = 100. Now w

[twsocket] HTTP protocol issue

2010-05-23 Thread Fastream Technologies
Hello, I have a question: Let's say the request has Content-Range: 50-100 for a file of length = 100. Now we want to return the Range: 50-100/100 as GZipped. the last 50 bytes of the file is compressed to 40 bytes. How should one construct the response header? Range? Content-length? Regards, SZ

Re: [twsocket] HTTP Location

2010-05-23 Thread Angus Robertson - Magenta Systems Ltd
> Since you rae writing a page check software, it is probably ggod > enough to not handle the cookies and to refuse relocation if the > url is the same url. That did occur to me, unfortunately the LocationChange event does not have the AllowMoreRelocations parameter that the LocationChangeExcee

Re: [twsocket] HTTP Location

2010-05-23 Thread Francois PIETTE
Is it valid for an HHTP header to relocate to an empty URL? Currently, HttpProt seems to parse the relocation to the same URL, and goes into a loop. < HTTP/1.1 302 Found < Location: http:// Probably the loop is broken by the server side once you handle cookies. The first request produce a rel

Re: [twsocket] HTTP Location

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
> It is not clear to me from the spec, but if it makes the express > assertion that it "SHOULD" give the new URI in the response to > non-HEAD requests, by omission it seems to me that it then "MUST" > do so for HEAD. It's not unusual for servers to treat HEAD differently, I had to fix the ICS

Re: [twsocket] HTTP Location

2010-05-20 Thread Stanislav
Not exactly what I said ;-) I said that irrespective to what RFC could imply, some sites intentionally use redirection to the same location, and the site (server) should normally prevent endless looping. If it's not, than indeed a client should protect itself - whether it is implemented in HttpP

Re: [twsocket] HTTP Location

2010-05-20 Thread DZ-Jay
On May 20, 2010, at 05:59, Angus Robertson - Magenta Systems Ltd wrote: >> The temporary URI SHOULD be given by the Location field in the >> response. Unless the request method was HEAD > > I am using the HEAD method, this is a web site checker confirming 1,500 > URLs in a database still exist e

Re: [twsocket] HTTP Location

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
> The temporary URI SHOULD be given by the Location field in the > response. Unless the request method was HEAD I am using the HEAD method, this is a web site checker confirming 1,500 URLs in a database still exist each week... I'll try GET. Angus -- To unsubscribe or change your settings for

Re: [twsocket] HTTP Location

2010-05-20 Thread DZ-Jay
On May 20, 2010, at 05:12, Angus Robertson - Magenta Systems Ltd wrote: > Is it valid for an HHTP header to relocate to an empty URL? > > Currently, HttpProt seems to parse the relocation to the same URL, and > goes into a loop. > > < HTTP/1.1 302 Found > < Location: http:// > > Temporary

Re: [twsocket] HTTP Location

2010-05-20 Thread Stanislav
ta Systems Ltd" To: Sent: Thursday, May 20, 2010 1:12 PM Subject: [twsocket] HTTP Location Is it valid for an HHTP header to relocate to an empty URL? Currently, HttpProt seems to parse the relocation to the same URL, and goes into a loop. < HTTP/1.1 302 Found < Location:

[twsocket] HTTP Location

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
Is it valid for an HHTP header to relocate to an empty URL? Currently, HttpProt seems to parse the relocation to the same URL, and goes into a loop. < HTTP/1.1 302 Found < Location: http:// Temporary Redirection: http://www.telecomstrader.com/ to: http://www.telecomstrader.com/ Angus -- To

Re: [twsocket] http deflate patch

2010-04-27 Thread Francois PIETTE
PM Subject: [twsocket] http deflate patch This is a patch to handle deflate HTTP encoding. Henri. Index: OverbyteIcsHttpCCodZLib.pas === --- OverbyteIcsHttpCCodZLib.pas (revision 488) +++ OverbyteIcsHttpCCodZLib.pas (working copy) @@ -2

[twsocket] http deflate patch

2010-04-27 Thread Henri Gourvest
This is a patch to handle deflate HTTP encoding. Henri. Index: OverbyteIcsHttpCCodZLib.pas === --- OverbyteIcsHttpCCodZLib.pas (revision 488) +++ OverbyteIcsHttpCCodZLib.pas (working copy) @@ -29,6 +29,13 @@ procedure WriteBuffe

Re: [twsocket] http design problem

2010-01-21 Thread Paul
Well, proxies may also break the connections. Never had problems with that, but new requests are delayed somehow. 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.overby

Re: [twsocket] http design problem

2010-01-21 Thread Francois PIETTE
I don't agree with you. HTTP protocol has all support for real keep alive connections. request can even be sent before the previous answer has been received. BUT most commercial webserver do break the connection very quickly. Probably to be able to support a large number of clients. If you wri

Re: [twsocket] http design problem

2010-01-21 Thread Paul
I don't agree with you. HTTP protocol has all support for real keep alive connections. request can even be sent before the previous answer has been received. BUT most commercial webserver do break the connection very quickly. Probably to be able to support a large number of clients. If you w

Re: [twsocket] http design problem

2010-01-21 Thread Francois PIETTE
Yes, using HTTP/1.1 you have perstant connexions. See Keep-Alive in the source code. That's what I'm using, but it's not the same. When I post a stream (10k as test) to the server which then sends it to the other computer, it's about 90 times faster then sending 1000 "10byte"-strings. of couse

Re: [twsocket] http design problem

2010-01-21 Thread Paul
Yes, using HTTP/1.1 you have perstant connexions. See Keep-Alive in the source code. That's what I'm using, but it's not the same. When I post a stream (10k as test) to the server which then sends it to the other computer, it's about 90 times faster then sending 1000 "10byte"-strings. of couse

Re: [twsocket] http design problem

2010-01-21 Thread Francois PIETTE
I'm testing an application that has to control a remote machine. The communication goes through an intermediate http server that connects 2 http clients. A<-->Server<-->B<->machine computer A controls computer B wich controls the machine. When computer B is located in the US, some message aren't

[twsocket] http design problem

2010-01-21 Thread Paul
I'm testing an application that has to control a remote machine. The communication goes through an intermediate http server that connects 2 http clients. A<-->Server<-->B<->machine computer A controls computer B wich controls the machine. When computer B is located in the US, some message aren't

Re: [twsocket] HTTP Server PUT command support

2009-06-07 Thread Fastream Technologies
Any idea for below question? ;) TIA, SZ On 6/6/09, Fastream Technologies wrote: > > Hello, > > I wonder why this PUT command is not supported by the web server component? > Isn't it exactly the same as POST except the method name? Or maybe there is > a trick I need to know?? > > Best Regards,

[twsocket] HTTP Server PUT command support

2009-06-06 Thread Fastream Technologies
Hello, I wonder why this PUT command is not supported by the web server component? Isn't it exactly the same as POST except the method name? Or maybe there is a trick I need to know?? Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.el

Re: [twsocket] Http relocation problem

2009-04-25 Thread Arno Garrels
Arno Garrels wrote: > Steve Endicott wrote: >> I think I've found a problem with how HttpProt handles relocation. > > Thanks! It's at least registered, Reproduced and just checked in (V6 and V7). -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto ht

Re: [twsocket] Http relocation problem

2009-04-24 Thread Arno Garrels
Steve Endicott wrote: > I think I've found a problem with how HttpProt handles relocation. Thanks! It's at least registered, will try to look at it closer when I have some minutes left if nobody of the HTTP-specialists (i.e. Francois) were faster. -- Arno Garrels -- To unsubscribe or change y

[twsocket] Http relocation problem

2009-04-23 Thread Steve Endicott
I think I've found a problem with how HttpProt handles relocation. First, I have to give some background. I'm using Turbo Delphi 2006 and using an older version of ICS (HttpProt.pas ver 1.94 last updated 12/10/06). I haven't kept up with the latest revisions or followed them too closely so I

Re: [twsocket] HTTP Client support for Digest Auth

2009-03-17 Thread Arno Garrels
Arno Garrels wrote: > Junior Ang wrote: >> Good day. Does HTTP Client support Digest Auth? > > Hello, > > Yes, it's a new feature in ICS v7. Should have mentioned, that it is available only in the ICS v7 SVN repository, more details how to get access can be found on the ICS homepage. > > -- >

Re: [twsocket] HTTP Client support for Digest Auth

2009-03-17 Thread Arno Garrels
Junior Ang wrote: > Good day. Does HTTP Client support Digest Auth? Hello, Yes, it's a new feature in ICS v7. -- 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:/

[twsocket] HTTP Client support for Digest Auth

2009-03-17 Thread Junior Ang
Hi, Good day. Does HTTP Client support Digest Auth? Francois said it's supported in Server, but I assume that it's not present in HTTP Client, am I right? Thanks. Junior -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listi

Re: [twsocket] HTTP c/s prob. (was OpenSSL hardware accelerators)

2009-02-16 Thread Paul
- Original Message - From: "Arno Garrels" > Maybe it is due to the new keep-alive timeout feature of v7 THttpServer? > No, I didn't use the latest version because I don't need that feature. The application server has it's own system to remove clients. All servers I have are communication

Re: [twsocket] HTTP c/s prob. (was OpenSSL hardware accelerators)

2009-02-16 Thread Arno Garrels
Paul wrote: > Both client and server are ICS (application server) > Client asks server for the next command that the client should execute > locally. > If the server has no command available for the client, he postpones > the answer for 20 seconds. > During that 20 seconds, there should no communi

Re: [twsocket] HTTP Post hanging during Basic authorization phase(2nd phase)

2009-01-24 Thread Francois PIETTE
> That did the trick, it works now. Fortunately the new ICS (Version 5) > hasn't affected anything in the current project, but I do have older > projects > that I made modifications to the ICS code which I will have to recode. Making changes in ICS components is never a good idea unless you dis

Re: [twsocket] HTTP Post hanging during Basic authorization phase (2nd phase)

2009-01-23 Thread robertoschler
e. Robert. --- On Fri, 1/23/09, Maurizio Lotauro wrote: > From: Maurizio Lotauro > Subject: Re: [twsocket] HTTP Post hanging during Basic authorization phase > (2nd phase) > To: "ICS support mailing" > Date: Friday, January 23, 2009, 7:12 PM > Scrive robertoschler :

Re: [twsocket] HTTP Post hanging during Basic authorization phase (2nd phase)

2009-01-23 Thread Maurizio Lotauro
Scrive robertoschler : > I am using Delphi Professional 6.0 pack 2 with ICS. I'm not sure what > version of ICS I am using since I don't see the version number in the README. > However, I checked HttPProt.pas and the final comment reads: > > "Oct 15, 2004 V1.71 lotauro.mauri...@dnet.it enhanced

[twsocket] HTTP Post hanging during Basic authorization phase (2nd phase)

2009-01-23 Thread robertoschler
I am using Delphi Professional 6.0 pack 2 with ICS. I'm not sure what version of ICS I am using since I don't see the version number in the README. However, I checked HttPProt.pas and the final comment reads: "Oct 15, 2004 V1.71 lotauro.mauri...@dnet.it enhanced basic and NTLM aut

Re: [twsocket] HTTP Range Problems with Files > 2 GB

2008-11-29 Thread Arno Garrels
Lars Gehre wrote: >> Lars Gehre wrote: >>> I believe all versions of ICS have these problems (at least with >>> Delphi 7 but I don't think integer or longword are suddenly >> Int64 in >>> newer delphi versions). >> >> It seems that ICSv6 and v7 both support Int64: >> >> {$IFDEF UseInt64ForHttpRan

Re: [twsocket] HTTP Range Problems with Files > 2 GB

2008-11-29 Thread Lars Gehre
> > Lars Gehre wrote: > > I believe all versions of ICS have these problems (at least with > > Delphi 7 but I don't think integer or longword are suddenly > Int64 in > > newer delphi versions). > > It seems that ICSv6 and v7 both support Int64: > > {$IFDEF UseInt64ForHttpRange} > THttpRan

Re: [twsocket] HTTP Range Problems with Files > 2 GB

2008-11-29 Thread Arno Garrels
Lars Gehre wrote: > I believe all versions of ICS have these problems (at least with > Delphi 7 but I don't think integer or longword are suddenly Int64 in > newer delphi versions). It seems that ICSv6 and v7 both support Int64: {$IFDEF UseInt64ForHttpRange} THttpRangeInt= Int64; {$EL

[twsocket] HTTP Range Problems with Files > 2 GB

2008-11-29 Thread Lars Gehre
Hello all, I'm currently working system for streaming (DVB-)Recordings via http/get with the ICS V5 http server and delphi 7. Most of these recordings are way bigger than 2 GB (MaxInt). The problem is easy to replicate: use VLC (videolan.org) to open a http-Stream on the http server demo and set

Re: [twsocket] http digest access authentication

2008-08-28 Thread Maurizio Lotauro
Scrive Arno Garrels <[EMAIL PROTECTED]>: > emanuele bizzarri wrote: > > Hi all, > > exists any THttpCli implementation that support digest access > > authentication? > > Good question, I always wondered why the guy who implemented digest auth > in the HTTP server didn't add it to the THttpCli as

  1   2   3   4   >