Re: [twsocket] HTTP relocation

2012-11-30 Thread Stan
RFC says that Location can contain only absolute URI. Wikipedia say, that some software allows for relative URIs, but in that case they must start from leading slash. So the response of the given server seems incorrect. So http client may handle such malform relocations using its arbitrary custom

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

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

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

2011-10-14 Thread ROQUES Guillaume
OK, I asked to my customer if he could convert his p7b'scertificate to a PEM with the private key included and he accepted : now it WORKS FINE !! ^_^ Thanks to all of you, it helps me to understand these formats by the way ;) Guillaume ROQUES Le 20:59, Fastream Technologies a écrit : Private

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

2011-10-10 Thread ROQUES Guillaume
OK, thanks to all of you. I'm going to ask it from my customer and find a command line to convert p7b with the private key. Gratefully (at the end ;), Guillaume ROQUES Le 20:59, Fastream Technologies a écrit : Private keys are created during CSR (Certificate Signing Request) creation. He who

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
Private keys are created during CSR (Certificate Signing Request) creation. He who ordered the cert should have it. Best Regards, Subzero On Fri, Oct 7, 2011 at 17:43, ROQUES Guillaume wrote: > So as my customer bought a wildcard certificate, it must include a private > key or do I need to genera

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

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

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

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
Lars Gehre wrote: > I noticed one thing: This only happens if files are involved, for > virtual documents it does not happen. I cannot reproduce it, 0.0% CPU here. I used the OverbyteIcsWebServ demo running on a Win7 quadcore. However if I download a file with Firefox (100 Mbit/s LAN) at around 6

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

2011-06-30 Thread Lars Gehre
I noticed one thing: This only happens if files are involved, for virtual documents it does not happen. For the http server demo it means you need to open Index.html or Form.html. Lars > -Original Message- > From: twsocket-boun...@elists.org > [mailto:twsocket-boun...@elists.org] On B

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

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

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

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
Hi, Angus, I'm not sure if it's valid, but it is used by server-side scripts for assigning some cookies and reloading the same page under new conditions: Location: / It's up to the site to prevent looping. Stan - Original Message - From: "Angus Robertson - Magenta Systems Ltd" To:

Re: [twsocket] http deflate patch

2010-04-27 Thread Francois PIETTE
Thanks a lot. -- 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: "Henri Gourvest" To: Sent: Tuesday, April 27, 2010 12:57 PM Subject: [twso

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

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,

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

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

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

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

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

Re: [twsocket] http digest access authentication

2008-08-28 Thread Fastream Technologies
Hi, Well that's because we did design the THttpServer digest code for a web server and a proxy and did not feel the need for THttpCli support. That would be good idea though it was not personally me who coded it but Peter and Francois. Regards, SZ On Thu, Aug 28, 2008 at 7:58 PM, Arno Garrels <

Re: [twsocket] http digest access authentication

2008-08-28 Thread Arno Garrels
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 well? -- Arno Garrels [TeamICS] http://www.overbyte.be/

Re: [twsocket] HTTP...

2008-05-16 Thread DZ-Jay
On May 16, 2008, at 02:49, zayin wrote: > > Yes, it is for web browsers. The target is any and all with HTML only. > > Thanks. Then you have to let the browser retrieve each resource individually. Unless you are using a custom browser, in which case, you can make it do whatever you want.

Re: [twsocket] HTTP...

2008-05-15 Thread zayin
Yes, it is for web browsers. The target is any and all with HTML only. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: Friday, May 16, 2008 12:34 AM To: ICS support mailing Subject: Re: [twsocket] HTTP... > I hav

Re: [twsocket] HTTP...

2008-05-15 Thread Tobias Rapp
Hi! DZ-Jay wrote: > A way to create a multi-part response is to encapsulate > it as a MIME 822 message. Here's some basic information on this: > > http://www.motobit.com/tips/detpg_multiple-files-one-request/ I stumbled over the following lines on that page: | The situation is even worse if

Re: [twsocket] HTTP...

2008-05-15 Thread Francois PIETTE
> I have a server and I want to send a jpeg to the client upon request. This > image is dynamic. I am using AnswerStream and that is all working great. > > Then I decided I also wanted some text to go before the image. > > I could not determine how to send text and an image with the same reply. > >

Re: [twsocket] HTTP...

2008-05-15 Thread zayin
Thanks. I will look into it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DZ-Jay Sent: Thursday, May 15, 2008 3:15 PM To: ICS support mailing Subject: Re: [twsocket] HTTP... DZ-Jay wrote: > What you want to do is send a multi-part MIME payload

Re: [twsocket] HTTP...

2008-05-15 Thread DZ-Jay
DZ-Jay wrote: > What you want to do is send a multi-part MIME payload in the body of > your HTTP response. You have to set the content-type to > "multipart/form-data". For more information, check this page: > > http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 > > dZ. > Ple

Re: [twsocket] HTTP...

2008-05-15 Thread DZ-Jay
zayin wrote: > Hello, > > I have a server and I want to send a jpeg to the client upon request. This > image is dynamic. I am using AnswerStream and that is all working great. > > Then I decided I also wanted some text to go before the image. > > I could not determine how to send text and an im

Re: [twsocket] HTTP LINK method?

2008-01-21 Thread Angus Robertson - Magenta Systems Ltd
> http://developer.mozilla.org/en/docs/Link_prefetching_FAQ > > Not sure what the implication is for the server -- maybe the idle > prefetch is done with a link verb? That document only seems to refer to LINK as an HTML keyword or HTTP header line, ditto the HTTP RFC referenced. I guess the LI

Re: [twsocket] HTTP LINK method?

2008-01-21 Thread Robert Chafer
http://developer.mozilla.org/en/docs/Link_prefetching_FAQ Not sure what the implication is for the server -- maybe the idle prefetch is done with a link verb? On Wed, 16 Jan 2008 10:52 + (GMT Standard Time), you wrote: > My IIS/6 logs show a method I've not seen before: > > LINK /dunma

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread Francois PIETTE
AIL PROTECTED]> To: Sent: Thursday, November 15, 2007 6:40 PM Subject: Re: [twsocket] http://www.overbyte.be/ >I get the following message: > > Maintenance mode > Cette machine windows 2000 vient d'etre victime d'une > mise a jour microsoft corrompue > la reinsta

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread Paul
Same here Paul - Original Message - From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]> To: Sent: Thursday, November 15, 2007 6:08 PM Subject: [twsocket] http://www.overbyte.be/ > The web site has not been responding this afternoon, and now shows a page > about 'Dalis S

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread Dod
Now the home page show this (for non-french people this mean the Web server is under Windows 2K and encoutered a problem after some Microsoft update. Re-install is on the way, be patient : Maintenance mode Cette machine windows 2000 vient d'etre victime d'une mise a jour microsoft corro

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread [EMAIL PROTECTED]
uveaux contenus -dZ. >--- Original Message --- >From: Angus Robertson - Magenta Systems Ltd[mailto:[EMAIL PROTECTED] >Sent: 11/15/2007 1:08:43 PM >To : twsocket@elists.org >Cc : >Subject : RE: [twsocket] http://www.overbyte.be/ > >The web sit

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread Francois PIETTE
Thanks Angus. The website is down. They are restoring backups. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]> To: Sent: Thursday, November 15, 2007 6:08 PM Subject: [twsocket] http://www.overbyte.be/

Re: [twsocket] HTTP Get problem (solved)

2007-04-24 Thread Jean-Paul Passama
Ok, sorry for that false alert. There was a difference in the parameters sent. Thank you Frans van Daalen a écrit : > did you test it with overbyteicshttptst.exe ? I get the same results as in > IE > > Frans > - Original Message - > From: "Jean-Paul Passama" > > Hi all, > > I try th

Re: [twsocket] HTTP Get problem.

2007-04-24 Thread Frans van Daalen
did you test it with overbyteicshttptst.exe ? I get the same results as in IE Frans - Original Message - From: "Jean-Paul Passama" Hi all, I try this request with my browser : http://www.bridgeplus.com/get_participation_essai.php?cl=5500051&trn=M200704 I have a good result (Ok at the

Re: [twsocket] Http file upload

2007-03-17 Thread Francois PIETTE
>>> What is the best place to start and stop timing ? >>> OnHeaderRequestEnd ? >> >> OnRequestDone. > > onRequestdone to stop the timing, > but when start the timing? When you call Post if you want to take connection time in the count, or OnSessionConnected if you want to start when the server is

Re: [twsocket] Http file upload

2007-03-17 Thread Paul
I've tested with an example i found in the archives. 'Method not allowed' is returned. What am I doing wrong ? Paul function TBandwidthCheckForm.Upload:boolean; const LR= #13#10; var Buf : String; FileToSend : TMemoryStream; Boundary, FName: string; begin result:= true; FName:= '

Re: [twsocket] Http file upload

2007-03-17 Thread Paul
Thanks Paul - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, March 17, 2007 2:29 PM Subject: Re: [twsocket] Http file upload > Francois PIETTE wrote: >>> where can I find an example for

Re: [twsocket] Http file upload

2007-03-17 Thread Paul
support mailing" Sent: Saturday, March 17, 2007 2:04 PM Subject: Re: [twsocket] Http file upload >> where can I find an example for uploading a file to a webserver using >> httpCli ? > > That is no different than posting anything else. Pay attention to the data > forma

Re: [twsocket] Http file upload

2007-03-17 Thread Arno Garrels
Francois PIETTE wrote: >> where can I find an example for uploading a file to a webserver using >> httpCli ? > > That is no different than posting anything else. Pay attention to the > data format. Most scripts expect MIME multi-part format. New TMultiPartFileReader from IcsSteams.pas may be hel

  1   2   3   >