TIPAsyncContext class has a
fOwner field that can be set to
nil which makes all code check for this special value before accessing the field.
Unfortunately, there is only one location where this check is not done, and it’s inside
TIPAsyncContext.cbHeaderLine on that line:
if fRequest.ContentLength > fOwner.fMaxPostData then begin
I have changed it to this:
if Assigned(fOwner) and (fRequest.ContentLength > fOwner.fMaxPostData) then begin
And now I no longer have the Access Violation I was getting occasionnaly on that line.