Re: [twsocket] HttpCli, bandWidthLimit ?
Bruno Mannina wrote: Dear Members, Can someone help me to understand how can I use the property BandWidthLimit ? 1) Property BandwidthLimit specifies the maximum number of bytes per second. 2) Property BandwidthSampling specifies a sampling interval in milliseconds, default 1000. 3) Property Options must include httpoBandwidthControl to enable bandwidth control. The bandwidth control is not very accurate and currently doesn't work with POST requests. In order to understand how it works in detail search for string UseBandwidthControl in unit OverbyteIcsHttpProt.pas. -- 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] HttpCli, bandWidthLimit ?
Le 08/01/2011 10:17, Arno Garrels a écrit : The bandwidth control is not very accurate and currently doesn't work with POST requests. Dear Arno, thanks for these informations, I use POST requests, so it's sad for me. Thx -- 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] HttpCli, bandWidthLimit ?
Bruno Mannina wrote: Le 08/01/2011 10:17, Arno Garrels a écrit : The bandwidth control is not very accurate and currently doesn't work with POST requests. Dear Arno, thanks for these informations, I use POST requests, so it's sad for me. In current ICSv7 there's a native throttle feature implemented at the TCustomWSocket level. The FTP client and server component already use that when BUILTIN_THROTTLE is defined. It's planed (and very easy) to change the THttpCli to use that code as well. Unfortunately currently I've no sparetime left to make 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] HttpCli, bandWidthLimit ?
Le 08/01/2011 18:43, Arno Garrels a écrit : Bruno Mannina wrote: Le 08/01/2011 10:17, Arno Garrels a écrit : The bandwidth control is not very accurate and currently doesn't work with POST requests. Dear Arno, thanks for these informations, I use POST requests, so it's sad for me. In current ICSv7 there's a native throttle feature implemented at the TCustomWSocket level. The FTP client and server component already use that when BUILTIN_THROTTLE is defined. It's planed (and very easy) to change the THttpCli to use that code as well. Unfortunately currently I've no sparetime left to make it. I'm not a very good programmer so I will wait the next release. thx a lot, -- 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