Re: [twsocket] Should next ICS version support anything beforeDelphiXE ?

2012-03-28 Thread Lars Gehre
Well I for my part would like see the IP V6 branch of Arno Garrels as the next ICS V8 (with support of older Delphi versions, XE2 firemonkey and x64 bit) because it is a REAL step forward for ICS and useful without new language mumbo jumbo. ;) I'm not saying there might be a time to make a cut and

Re: [twsocket] Should next ICS version support anything before DelphiXE ?

2012-03-28 Thread Lars Gehre
Still using Delphi 7. > -Original Message- > From: twsocket-boun...@elists.org > [mailto:twsocket-boun...@elists.org] On Behalf Of François Piette > Sent: Wednesday, March 28, 2012 8:59 PM > To: ICS support mailing > Subject: [twsocket] Should next ICS version support anything > before

Re: [twsocket] Setting additional Header fields depending on the mimetype in the HTTP Server

2011-12-12 Thread Lars Gehre
Well, I simply changed the source code and added a callback. It's normally not the way to go, but well, sometimes it's the easiest way. I'm talking about mostly "automatically" served files so calling senddocument is out of the question. Overriding said function would mean, I would have to duplic

[twsocket] Setting additional Header fields depending on the mimetype in the HTTP Server

2011-12-10 Thread Lars Gehre
Hello, I need to add for certain mime content types special headers to the HTTP header. As an example for static resources the "Expires" or "Cache-Control" headers. Unfortunatly I haven't found a way to do this without overriding (and duplicating) the SendDocument function. Did I miss something

Re: [twsocket] Suggestion for DocumentToContentType

2011-10-21 Thread Lars Gehre
> Oct 21, 2011 V7.41 Angus added OnHttpMimeContentType to allow > custom ContentTypes to be supported for unusual file extensions. Very nice. Is there a reason you placed the calls in this sequences? I think procedure THttpConnection.SendDocument[..] begin ErrorSend := FALSE;

[twsocket] Suggestion for DocumentToContentType

2011-07-08 Thread Lars Gehre
Hi, after getting chewed out (again!) for forgetting to extend the "DocumentToContentType" function after an update of ICS, I like to suggest an improvement. As base use a THashedStringlist (or something similar). Fill the list with the default extension/contentType names and values pairs and pr

[twsocket] Small problem with ifdefs in httpSrv

2011-07-08 Thread Lars Gehre
Hi, I found one small problem in the THttpConnection class: FPostRcvBuf : array [0..1023] of Byte; { V7.30 } FPostCounter : Int64; { V7.30 } must to be placed before the {$IFNDEF NO_AUTHENTICATION_SUPPORT} block, otherwise

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

2011-07-02 Thread Lars Gehre
ocket] 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 now or included in next daily snapshot > here: http://wiki.overbyte.be/wiki/index.php/ICS_Download >

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 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] IGMP V3 proposal

2009-11-30 Thread Lars Gehre
I like to propose a code addition for IGMP V3 (http://de.wikipedia.org/wiki/Internet_Group_Management_Protocol) to the OverbyteICSWSocket unit. It is mostly used by professional equipment (Cisco & Co) to join a multicast group. We use it for our IPTV analyzing tool and the code is confirmed to work

Re: [twsocket] Proposal for more contenttypes in DocumentToContentType in OverbyteIcsHttpSrv.pas

2009-09-13 Thread Lars Gehre
> Hello! > > > else if (Ext = 'doc') or (Ext = 'docx') then > > Result := 'application/msword' > > else if (Ext = 'xls') or (Ext = 'xlsx') then > > Result := 'application/vnd.ms-excel' > > else if (Ext = 'ppt') or (Ext = 'pptx') then > > Result := 'applicatio

Re: [twsocket] THttpServer fixes for ICS v5/6/7 uploaded to the SVNrepositories - please test!

2008-12-13 Thread Lars Gehre
> Hi, > > Fixed responses and an infinite loop when a byte-range-set > was unsatisfiable. Added a fix for content ranges with files > > 2GB as suggested by Lars Gehre . > Replaced symbol UseInt64ForHttpRange by STREAM64. > > -- > Arno Garrels [TeamICS] So

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 In

[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