rlebeau on master
Patch from fpctuxe to make TIdS… (compare)
rlebeau on master
Updating TIdIMAP4.RetrieveHeade… (compare)
rlebeau on master
#53 adding some extra parenthes… (compare)
rlebeau on master
Fix for typo in Computil.dpr (compare)
@rlebeau, i've just checked change of size via Debug Watch . As i said above it happens only in case when my stream position is at the end.
I have another question, my HTTP protocol has KeepAlive=True and i see that in this case no disconnection happens:
if not Response.KeepAlive then begin
// TODO: do not disconnect if hoNoReadMultipartMIME is in effect
// TODO: do not disconnect if hoNoReadChunked is in effect
Disconnect;
end;
but i wonder whether is it a good idea to disconnect in case when socket error occurs? E.g. 'connection reset by peer'?
I have anothe question. We have in TIdIOHandlerStack.Connected
ReadFromSource(False, 0, False);
What indy is supposed to read here? Sometimes (vary rarely) my application based on RemObjects SuperTCPServer hangs there as there is nothing to read from server.
select()
function (which has been known to happen, despite the timeout - that is an OS issue, not an Indy issue).