Re: [fpc-pascal] Improvement to TFPHTTPClient Class

2016-07-19 Thread Michael Van Canneyt
On Tue, 19 Jul 2016, African Wild Dog wrote: 2016-07-19 4:52 GMT-03:00 Michael Van Canneyt : 1. The whole point of TFPHTTPClient is exactly to couple it to sockets framework (fcl-net). If you want to use synapse, use httpsend. lnet has a similar component for the http protocol.

Re: [fpc-pascal] Improvement to TFPHTTPClient Class

2016-07-19 Thread African Wild Dog
2016-07-19 4:52 GMT-03:00 Michael Van Canneyt : > > 1. The whole point of TFPHTTPClient is exactly to couple it to sockets >framework (fcl-net). >If you want to use synapse, use httpsend. lnet has a similar component >for the http protocol. > > I dont want to use synapse. I am developi

Re: [fpc-pascal] Hello, I suggest that you change the TFPGMap in fgl.

2016-07-19 Thread Felipe Monteiro de Carvalho
Hello, You could always send a patch with a TFPGHashedMap or TFPGRedBlackMap implementation. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pas

Re: [fpc-pascal] Improvement to TFPHTTPClient Class

2016-07-19 Thread Michael Van Canneyt
Hello, This will not be applied, for 2 reasons: 1. The whole point of TFPHTTPClient is exactly to couple it to sockets framework (fcl-net). If you want to use synapse, use httpsend. lnet has a similar component for the http protocol. 2. I favour the opposite approach. Abstract out the

[fpc-pascal] Improvement to TFPHTTPClient Class

2016-07-19 Thread African Wild Dog
Hello, The current version of the TFPHTTPClient (the one shipped with fpc 3.0) is coupled to the fpc's sockets framework (fcl-net) so we can't utilize other tcp connection framework (e.g Synapse) to perform HTTP requests using TFPHTTPClient. I have made an improvement to the TFPHTTPClient class (