rlebeau on master
#395 Adding hcPATCH to THTTPCom… Updating TIdFTP.ExtListDir() to… When compiling for FPC, now def… and 2 more (compare)
with cmdClient.fIdClient.IOHandler do begin WriteBufferOpen; try Write(...); Write(...); Write(...); WriteBufferClose; except WriteBufferCancel; raise; end end;
What Is wrong in this implementation?
In the client, I start a receive thread:
--the receive thread in the client:
in the server:
If I first start the test transferring of the client sending data of < 80000 bytes to the server 10000 times and then do the same test reverse of the server sending to the client, there is nothing abnormal.
But if I first start the test of the server sending to the client and then the transferring speed becomes very low when do the test of the client sending to the server.