Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Indy mit DoOnDisconnected (https://www.delphipraxis.net/131160-indy-mit-doondisconnected.html)

Ruio 19. Mär 2009 20:46


Indy mit DoOnDisconnected
 
So ich bekomm hier unerklärlicherweise eine (zwei) Zugriffsverlertzungen:
Delphi-Quellcode:
procedure TIdCustomHTTP.DoOnDisconnected;
begin
  inherited DoOnDisconnected;

  if Assigned(Request.Authentication) and //<--Hier die 1. Meldung
    (Request.Authentication.CurrentStep = Request.Authentication.Steps) then begin
    if Assigned(AuthenticationManager) then begin
      AuthenticationManager.AddAuthentication(Request.Authentication, URL);
    end;
    Request.Authentication.Free;
    Request.Authentication := nil;
  end;

  if Assigned(ProxyParams.Authentication) and //<--Hier die 2. Meldung
    (ProxyParams.Authentication.CurrentStep = ProxyParams.Authentication.Steps) then begin
    ProxyParams.Authentication.Reset;
  end;
end;
1. Meldung:
Zitat:

---------------------------
Ldfvote
---------------------------
Zugriffsverletzung bei Adresse 0047F374 in Modul 'LDFVote.exe'. Lesen von Adresse 00000000.
---------------------------
OK
---------------------------
2. Meldung:
Zitat:

---------------------------
Benachrichtigung über Debugger-Exception
---------------------------
Im Projekt LDFVote.exe ist eine Exception der Klasse EAccessViolation mit der Meldung 'Zugriffsverletzung bei Adresse 0047F42B in Modul 'LDFVote.exe'. Lesen von Adresse 00000000' aufgetreten.
---------------------------
Anhalten Fortsetzen Hilfe
---------------------------
Die Meldungen treten nicht immer auf.

Aufruf:
Delphi-Quellcode:
StringList.Text := http.Get('http://google.de');
Woher kommen die Meldungen denn?

Version: Rev 1.54


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz